Package rope.colour
Class R_Colour
java.lang.Object
rope.core.Rope
rope.colour.R_Colour
- All Implemented Interfaces:
R_Constants
,R_Constants_Colour
-
Field Summary
Fields inherited from interface rope.core.R_Constants
ARC, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, CARTESIAN, CENTER, CHAOS, CHORD, CIRCULAR, CLOSE, CLOUD, CORNER, CORNERS, COS, 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, LINEAR, 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, POW, QPI, QUADRATIC_VERTEX, QUARTER_PI, RADIUS, RAND, RECT, REPEAT, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT, ROOT2, RUN, SCALE, SEED, SHAPE, SIN, SKY, SOUTH, SOUTH_EAST, SOUTH_WEST, SPAN, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SPIRAL, SQUARE, STAR, STAR_3D, STATIC, SVG, TAN, TAU, TETRAHEDRON, TETRAHEDRON_LINE, TEXT, TOP, TREE, TRIANGLE, TWO_PI, UP, VERSION, VERTEX, VERTICAL, VIRUS, WALK, WEST
Fields inherited from interface rope.core.R_Constants_Colour
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(int colour) void
add
(int group, int colour) void
add
(int group, int[] colour) void
void
add_group
(int num) float[]
alpha()
float[]
alpha
(int group) float[]
blue()
float[]
blue
(int group) float[]
float[]
brightness
(int group) void
clear()
void
clear
(int group) int[]
get()
int[]
get
(int group) float
get_alpha
(int group, int target) float
get_blue
(int group, int target) float
get_brightness
(int group, int target) int
get_colour
(int group, int target) float
get_green
(int group, int target) get_hsb
(int group, int target) get_hsba
(int group, int target) float
get_hue
(int group, int target) float
get_red
(int group, int target) get_rgb
(int group, int target) get_rgba
(int group, int target) float
get_saturation
(int group, int target) float[]
green()
float[]
green
(int group) vec3[]
hsb()
vec3[]
hsb
(int group) vec4[]
hsba()
vec4[]
hsba
(int group) float[]
hue()
float[]
hue
(int group) float[]
red()
float[]
red
(int group) void
remove
(int group, int index) vec3[]
rgb()
vec3[]
rgb
(int group) vec4[]
rgba()
vec4[]
rgba
(int group) float[]
float[]
saturation
(int group) void
set
(int index, int colour) void
set
(int group, int index, int colour) int
size()
int
size
(int group) int
Methods inherited from class rope.core.Rope
all, all, any, any, binary, binary, binary, binary, clamp, clamp, clamp, clamp, equal, equal, equal, equal, equal, equal, equal, equal, extension, extension_is, file_name, fract, fract, fract, fract, get_os, get_os_family, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hex, hex, hex, hex, index_pixel_array, 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, print_err_tempo, print_out, print_tempo, random, 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
-
Constructor Details
-
R_Colour
public R_Colour(processing.core.PApplet pa) -
R_Colour
public R_Colour(processing.core.PApplet pa, int... list_colour)
-
-
Method Details
-
add
public void add(int group, int[] colour) -
add
public void add(int group, int colour) -
add
public void add(int colour) -
add_group
public void add_group() -
add_group
public void add_group(int num) -
set
public void set(int index, int colour) -
set
public void set(int group, int index, int colour) -
clear
public void clear() -
clear
public void clear(int group) -
remove
public void remove(int group, int index) -
size_group
public int size_group() -
size
public int size() -
size
public int size(int group) -
get
public int[] get() -
get
public int[] get(int group) -
get_colour
public int get_colour(int group, int target) -
get_hue
public float get_hue(int group, int target) -
get_saturation
public float get_saturation(int group, int target) -
get_brightness
public float get_brightness(int group, int target) -
get_red
public float get_red(int group, int target) -
get_green
public float get_green(int group, int target) -
get_blue
public float get_blue(int group, int target) -
get_alpha
public float get_alpha(int group, int target) -
get_hsb
-
get_hsba
-
get_rgb
-
get_rgba
-
hue
public float[] hue() -
hue
public float[] hue(int group) -
saturation
public float[] saturation() -
saturation
public float[] saturation(int group) -
brightness
public float[] brightness() -
brightness
public float[] brightness(int group) -
red
public float[] red() -
red
public float[] red(int group) -
green
public float[] green() -
green
public float[] green(int group) -
blue
public float[] blue() -
blue
public float[] blue(int group) -
alpha
public float[] alpha() -
alpha
public float[] alpha(int group) -
hsb
-
hsb
-
rgb
-
rgb
-
hsba
-
hsba
-
rgba
-
rgba
-