public class R_Button extends Crope
Modifier and Type | Field and Description |
---|---|
vec2 |
offset |
ARC, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, CARTESIAN, CENTER, CHAOS, CHORD, CIRCULAR, CLOSE, CLOUD, CORNER, CORNERS, CROSS, 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, HALF_PI, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, HPI, ICOSI_DODECAHEDRON_LINE, IMAGE, JAVA2D, LANDSCAPE, LEAF, LEFT, LINE, MAD, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NONAGON, NONE, NORMAL, NORTH, NORTH_EAST, NORTH_WEST, NOTHING, NULL, OCTOGON, OCTOHEDRON_LINE, OPEN, ORDER, P2D, P3D, PDF, PENTAGON, PERLIN, PHI, PI, PIE, PIXEL, POINT, POLAR, POLYGON, PORTRAIT, QPI, QUADRATIC_VERTEX, QUARTER_PI, RADIUS, RAND, RECT, REPEAT, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT, ROOT2, RUN, SCALE, SEED, SHAPE, SKY, SOUTH, SOUTH_EAST, SOUTH_WEST, SPAN, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SPIRAL, SQUARE, STAR, STAR_3D, STATIC, SVG, TAU, TETRAHEDRON, TETRAHEDRON_LINE, TEXT, TOP, TREE, TRIANGLE, TWO_PI, UP, VERSION, VERTEX, VERTICAL, VIRUS, WALK, 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 |
---|
R_Button() |
R_Button(float x,
float y,
float sx,
float sy) |
R_Button(java.lang.String type,
float x,
float y,
float sx,
float sy) |
R_Button(java.lang.String type,
vec2 pos,
vec2 size) |
R_Button(vec2 pos,
vec2 size) |
Modifier and Type | Method and Description |
---|---|
float |
get() |
boolean |
is()
GET VALUE
|
void |
is(boolean is) |
void |
offset_is(boolean display_button) |
void |
offset(float x,
float y)
offset
|
void |
rollover(boolean auth_rollover) |
R_Button |
set_fill_in_off(int c) |
R_Button |
set_fill_in_on(int c) |
R_Button |
set_fill_out_off(int c) |
R_Button |
set_fill_out_on(int c) |
R_Button |
set_fill(int colour)
set fill color of your gui
|
R_Button |
set_fill(int colour_in,
int colour_out)
set fill color of your gui
|
void |
set_kind(int kind) |
R_Button |
set_stroke_in_off(int c) |
R_Button |
set_stroke_in_on(int c) |
R_Button |
set_stroke_out_off(int c) |
R_Button |
set_stroke_out_on(int c) |
R_Button |
set_stroke(int colour)
set stroke color of your gui
|
R_Button |
set_stroke(int colour_in,
int colour_out)
set fill color of your gui
|
R_Button |
set_value(boolean is) |
R_Button |
set_value(float value) |
void |
show_struc() |
void |
show_struc(processing.core.PImage[] pic) |
void |
show_value() |
void |
show_value(float value) |
void |
show() |
void |
show(int kind,
boolean on_off_is)
Deprecated.
|
void |
show(processing.core.PImage[] pic)
Deprecated.
|
void |
switch_is() |
void |
update() |
bottom, get_all, get_dna, get_font_size, get_font, get_id_midi, get_id, get_label, get_name, get_rank, get_rollover_type, get_type, get, inside, inside, inside, left, opengl, pos, pos, pos, right, set_align_label_name, set_align_label_value, set_aspect, set_aspect, set_bri, set_fill_label, set_fill_label, set_font_size, set_font, set_font, set_hue, set_id_midi, set_id, set_label, set_label, set_label, set_mode, set_name, set_pos_label, set_pos_label, set_pos_value, set_pos_value, set_rank, set_rollover_type, set_root, set_rounded, set_sat, set_thickness, show_label, size, size, size, size, top
arc, arc, arc, arc, 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, 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, map, max, min, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, only, only, print_err_tempo, print_err, print_out, print_tempo, random_next_gaussian, random_next_gaussian, random_next_gaussian, random, sign, sign, sign, sign, sign, sign, sign, sign, smoothstep, smoothstep, smoothstep, smoothstep, split, split, step, step, step, step, truncate, truncate, unbinary, unhex
public vec2 offset
public R_Button()
public R_Button(java.lang.String type, float x, float y, float sx, float sy)
public R_Button(float x, float y, float sx, float sy)
public void set_kind(int kind)
public R_Button set_value(boolean is)
is
- public R_Button set_value(float value)
public void is(boolean is)
public void switch_is()
public boolean is()
public R_Button set_fill(int colour)
public R_Button set_fill(int colour_in, int colour_out)
public R_Button set_fill_in_on(int c)
public R_Button set_fill_out_on(int c)
public R_Button set_fill_in_off(int c)
public R_Button set_fill_out_off(int c)
public R_Button set_stroke(int colour)
set_stroke
in class Crope
colour
- public R_Button set_stroke(int colour_in, int colour_out)
set_stroke
in class Crope
colour_in
- colour_out
- public R_Button set_stroke_in_on(int c)
public R_Button set_stroke_out_on(int c)
public R_Button set_stroke_in_off(int c)
public R_Button set_stroke_out_off(int c)
public void offset(float x, float y)
public void offset_is(boolean display_button)
public void rollover(boolean auth_rollover)
public void show_struc()
show_struc
in class Crope
public void show()
public void show_struc(processing.core.PImage[] pic)
@Deprecated public void show(processing.core.PImage[] pic)
@Deprecated public void show(int kind, boolean on_off_is)
public void show_value(float value)
public void show_value()
show_value
in class Crope