public abstract class Crope extends R_Graphic
ARC, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, CARTESIAN, CENTER, CHAOS, CIRCULAR, CLOSE, CORNER, CORNERS, COS, CROSS_BOX_2, CROSS_BOX_3, CROSS_RECT, CUBE_LINE, CURVE_VERTEX, DECAGON, DIAGONAL, DIAMETER, DODECAGON, DOWN, DRAW, DXF, DYNAMIC, EAST, ELLIPSE, EQUATION, EULER, FIT, FLOWER, FLUID, FX2D, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, ICOSI_DODECAHEDRON_LINE, JAVA2D, LEFT, LINE, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NONAGON, NONE, NORTH, NORTH_EAST, NORTH_WEST, NOTHING, NULL, OCTOGON, OCTOHEDRON_LINE, OPEN, ORDER, P2D, P3D, PDF, PENTAGON, PERLIN, PHI, PI, PIXEL, POINT, POLAR, QUADRATIC_VERTEX, RADIUS, RAND, RECT, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT2, SCALE, SIN, SOUTH, SOUTH_EAST, SOUTH_WEST, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SQUARE, STAR, STAR_3D, STATIC, SVG, TAN, TAU, TETRAHEDRON, TETRAHEDRON_LINE, TEXT, TOP, TRIANGLE, TRIG_0, TRIG_1, TRIG_2, TRIG_3, TRIG_4, TWO_PI, UP, VERSION, VERTEX, VERTICAL, VIRUS, WEST
ABRICOT, ACAJOU, ALPHA, AMARANTE, AMBRE, ANSI_BLACK, ANSI_BLACK_BACKGROUND, ANSI_BLUE, ANSI_BLUE_BACKGROUND, ANSI_CYAN, ANSI_CYAN_BACKGROUND, ANSI_GREEN, ANSI_GREEN_BACKGROUND, ANSI_PURPLE, ANSI_PURPLE_BACKGROUND, ANSI_RED, ANSI_RED_BACKGROUND, ANSI_RESET, ANSI_WHITE, ANSI_WHITE_BACKGROUND, ANSI_YELLOW, ANSI_YELLOW_BACKGROUND, ARGB, ARGENT, AUBERGINE, AZUR, BIS, BISTRE, BLACK, BLANC, BLEU, BLOND, BLOOD, BLUE, BOUTEILLE, BRIGHTNESS, BRIQUE, BRONZE, BROWN, CAERULEUM, CAFE, CANARD, CANELLE, CAPUCINE, CARMIN, CARMINE, CAROTTE, CELESTE, CERISE, CHAMOIS, CHARTREUSE, CHOCOLAT, CIEL, CITROUILLE, COBALT, COFFEE, COLOMBIN, CORAIL, CYAN, EVEQUE, FRANCE, FUSCHIA, GOLD, GRADIENT, GRADIENT_BRIGHTNESS, GRADIENT_HUE, GRADIENT_SATURATION, GRAY, GRAY_MEDIUM, GREEN, GRENAT, GRIS, GRIS_MOYEN, GUEULES, HSB, HUE, IMPERIAL, JAUNE, LAPIS_LAZULI, LAVANDE, LILAS, LIME, LIN, LUNE, MAGENTA, MANDARINE, MARRON, MAUVE, MIMOSA, MOON, MOUNTBATTEN, NANKIN, NAPLE, NOIR, NOISETTE, NUIT, OCRE, OCRE_JAUNE, OCRE_ROUGE, OLIVE, OR, ORANGE, OUTREMER, PALETTE, PAYNE, PERLE, PERROQUET, PINK, PISTACHE, POURPRE, PRUNE, PURPLE, RAINBOW, RED, RGB, RGBA, ROSE, ROUGE, SANG, SAPIN, SATURATION, SAUGE, SEPIA, SHAKUDOU, SILVER, SINOPLE, SMALT, SOURIS, SPECTRUM, TAUPE, TILLEUL, TURQUOISE, VERMILLON, VERT, VERT_D_EAU, VERT_DE_GRIS, VESSIE, VIOLET, WHITE, YELLOW, ZINZOLIN
Constructor and Description |
---|
Crope(java.lang.String type,
float x,
float y,
float sx,
float sy) |
Crope(java.lang.String type,
vec2 pos,
vec2 size) |
Modifier and Type | Method and Description |
---|---|
int |
bottom() |
float[] |
get_all() |
int |
get_dna() |
int |
get_font_size() |
processing.core.PFont |
get_font() |
int |
get_id_midi() |
int |
get_id() |
java.lang.String |
get_label() |
java.lang.String |
get_name() |
int |
get_rank() |
int |
get_rollover_type() |
java.lang.String |
get_type() |
float |
get() |
float |
get(int index) |
boolean |
inside() |
boolean |
inside(int shape_type) |
boolean |
inside(vec2 pos,
vec2 size,
int shape_type) |
int |
left() |
Crope |
opengl(boolean is) |
vec2 |
pos()
get
|
Crope |
pos(float x,
float y)
set structure
|
Crope |
pos(vec2 pos) |
int |
right() |
Crope |
set_align_label_name(int align) |
Crope |
set_align_label_value(int align) |
Crope |
set_aspect(int f_c,
int s_c,
float thickness) |
Crope |
set_aspect(int f_c_in,
int f_c_out,
int s_c_in,
int s_c_out,
float thickness) |
Crope |
set_bri(float bri) |
Crope |
set_fill_label(int c)
LABEL
|
Crope |
set_fill_label(int c_in,
int c_out) |
Crope |
set_fill(int c)
FILL
|
Crope |
set_fill(int c_in,
int c_out) |
Crope |
set_font_size(int font_size) |
Crope |
set_font(processing.core.PFont font)
font
|
Crope |
set_font(java.lang.String font_name,
int size) |
Crope |
set_hue(float hue) |
Crope |
set_id_midi(int id_midi) |
Crope |
set_id(int id) |
Crope |
set_label(java.lang.String name) |
Crope |
set_label(java.lang.String name,
float x,
float y) |
Crope |
set_label(java.lang.String name,
vec2 pos_label) |
Crope |
set_mode(int mode)
You can select different palette mode, with Processing classic renderer only mode 0 is available.
|
Crope |
set_name(java.lang.String name) |
Crope |
set_pos_label(float x,
float y) |
Crope |
set_pos_label(vec2 pos) |
Crope |
set_pos_value(float x,
float y) |
Crope |
set_pos_value(vec2 pos)
VALUE
|
Crope |
set_rank(int rank) |
Crope |
set_rollover_type(int rollover_type) |
Crope |
set_root(float root)
set colour
|
Crope |
set_rounded(float rounded)
ASPECT
|
Crope |
set_sat(float sat) |
Crope |
set_stroke(int c)
STROKE
|
Crope |
set_stroke(int c_in,
int c_out) |
Crope |
set_thickness(float thickness) |
void |
show_label() |
void |
show_structure() |
void |
show_value() |
vec2 |
size() |
Crope |
size(float size) |
Crope |
size(float w,
float h) |
Crope |
size(vec2 size) |
int |
top() |
void |
update() |
aspect, aspect, beginContour, beginShape, beginShape, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, box, box, box, colorMode, colorMode, colorMode, colorMode, colorMode, colorMode, colorMode, createGraphics, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, ellipse, ellipse, ellipse, ellipse, ellipseMode, ellipseMode, endContour, endShape, endShape, fill, fill, fill, fill, fill, fill, get_renderer, get_renderer, get, image, image, image, image, index_pixel_array, line, line, line, line, loadShader, noFill, noStroke, pass_graphic, point, point, point, point, pop, popMatrix, push, pushMatrix, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, rect, rect, rect, rect, rect, rect, rectMode, rectMode, renderer_P2D, renderer_P3D, rotate, rotateX, rotateXY, rotateXYZ, rotateXZ, rotateY, rotateYZ, rotateZ, scale, scale, scale, set, set, set, shader, shearX, shearY, sphere, sphereDetail, sphereDetail, square, square, stroke, stroke, stroke, stroke, stroke, stroke, strokeWeight, text, text, text, text, text, text, text, text, text, text, text, text, text, text, text, text, textAlign, textAlign, textFont, textFont, textSize, thickness, translate, translate, translate, triangle, triangle, triangle, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex
alpha, blue, brightness, color, color, color, color, createFont, createFont, createFont, getColorMode, getColorMode, green, hue, loadImage, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String, longest_String, noise, noiseSeed, pass_processing, red, saturation, width_char, width_char, width_char, width_String, width_String, width_String
all, all, all, all, all, all, any, any, any, any, any, any, binary, binary, binary, binary, clamp, clamp, clamp, clamp, equal, equal, equal, equal, equal, equal, equal, equal, file_name, fract, fract, fract, fract, get_os_family, get_os, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hex, hex, hex, hex, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, print_err_tempo, print_err, print_out, print_tempo, random_next_gaussian, random_next_gaussian, random_next_gaussian, random_next_gaussian, sign, sign, sign, sign, sign, sign, sign, sign, smoothstep, smoothstep, smoothstep, smoothstep, split, split, step, step, step, step, truncate, truncate, unbinary, unhex
public void update()
public void show_structure()
public float get()
public float get(int index)
public float[] get_all()
public Crope pos(float x, float y)
public Crope size(float size)
public Crope size(float w, float h)
public Crope set_root(float root)
public Crope set_hue(float hue)
public Crope set_sat(float sat)
public Crope set_bri(float bri)
public Crope opengl(boolean is)
public Crope set_mode(int mode)
mode
- give the opportunity to change the color randeringpublic Crope set_fill(int c)
public Crope set_fill(int c_in, int c_out)
public Crope set_stroke(int c)
public Crope set_stroke(int c_in, int c_out)
public Crope set_thickness(float thickness)
public Crope set_rounded(float rounded)
public Crope set_aspect(int f_c, int s_c, float thickness)
public Crope set_aspect(int f_c_in, int f_c_out, int s_c_in, int s_c_out, float thickness)
public Crope set_fill_label(int c)
public Crope set_fill_label(int c_in, int c_out)
public Crope set_align_label_name(int align)
public Crope set_align_label_value(int align)
public Crope set_name(java.lang.String name)
public Crope set_label(java.lang.String name)
public Crope set_label(java.lang.String name, float x, float y)
public Crope set_pos_label(float x, float y)
public void show_label()
public Crope set_pos_value(float x, float y)
public void show_value()
public Crope set_font(processing.core.PFont font)
public Crope set_font(java.lang.String font_name, int size)
public Crope set_font_size(int font_size)
public Crope set_id_midi(int id_midi)
public Crope set_id(int id)
public Crope set_rank(int rank)
public Crope set_rollover_type(int rollover_type)
public vec2 pos()
public int top()
public int bottom()
public int left()
public int right()
public vec2 size()
public int get_rollover_type()
public int get_dna()
public java.lang.String get_name()
public java.lang.String get_label()
public int get_id_midi()
public int get_id()
public processing.core.PFont get_font()
public int get_font_size()
public int get_rank()
public java.lang.String get_type()
public boolean inside()
public boolean inside(int shape_type)