Package rope.costume
Class R_Costume
java.lang.Object
rope.core.Rope
rope.core.BigBang
rope.core.R_Graphic
rope.costume.R_Shape
rope.costume.R_Costume
- 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 TypeMethodDescriptionboolean
alpha_is()
void
alpha_is
(boolean alpha_is) void
aspect
(int fill, int stroke, float thickness) void
aspect
(int fill, int stroke, float thickness, int costume) void
void
void
void
void
aspect_is
(boolean fill_is, boolean stroke_is, boolean alpha_is) boolean
fill_is()
void
fill_is
(boolean fill_is) int
get_fill()
int
get_name()
int
get_node()
int
get_num()
vec2[]
get_pair()
float[]
float[]
int
int
float
int
get_type()
void
boolean
is_3D()
void
is_3D
(boolean is_3D) boolean
void
is_vertex
(boolean is_vertex) void
load image for the costume, only SVG or PNGvoid
pass_graphic
(processing.core.PGraphics other) void
set_align
(int align) void
set_mutation
(int mutation) void
void
set_node
(int node) void
set_num
(int num) void
void
set_ratio
(float... ratio) void
set_strength
(float... strength) void
set_summit
(int summits) void
void
set_type
(int type) void
show()
It the main method, it's here where the choice what must be shown among the various objects in the collectionvoid
It the main method, it's here where the choice what must be shown among the various objects in the collectionboolean
void
stroke_is
(boolean stroke_is) Methods inherited from class rope.costume.R_Shape
angle, angle, angle, angle_x, angle_x, angle_y, angle_y, angle_z, angle_z, get_point, get_points, get_ref_point, get_ref_points, get_summits, pos, pos, pos, pos, pos, pos, reset_is, reset_is, set_summits, size, size, size, size, size, size, use_pos_is, use_pos_is
Methods inherited from class rope.core.R_Graphic
arc, arc, arc, arc, 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, get_renderer, get_renderer, image, image, image, image, index_pixel_array, line, line, line, line, loadShader, noFill, noStroke, 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
Methods inherited from class rope.core.BigBang
alpha, blue, brightness, color, color, color, color, createFont, createFont, createFont, getColorMode, getColorMode, green, hue, loadImage, longest_String, longest_String, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, longest_String_pixel, noise, noiseSeed, pass_processing, red, saturation, width_char, width_char, width_char, width_String, width_String, width_String
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, 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_Costume
public R_Costume(processing.core.PApplet pa) -
R_Costume
public R_Costume(processing.core.PApplet pa, int type) -
R_Costume
-
-
Method Details
-
load_pict
load image for the costume, only SVG or PNG- Parameters:
path
-
-
pass_graphic
public void pass_graphic(processing.core.PGraphics other) - Overrides:
pass_graphic
in classR_Graphic
- Parameters:
other
- PGraphics rendering art work
-
set_text
-
set_name
-
set_type
public void set_type(int type) -
set_node
public void set_node(int node) -
set_mutation
public void set_mutation(int mutation) -
set_summit
public void set_summit(int summits) -
set_num
public void set_num(int num) -
set_align
public void set_align(int align) -
set_ratio
public void set_ratio(float... ratio) -
set_strength
public void set_strength(float... strength) -
set_pair
-
is_3D
public void is_3D(boolean is_3D) -
is_vertex
public void is_vertex(boolean is_vertex) -
get_fill
public int get_fill() -
get_stroke
public int get_stroke() -
get_thickness
public float get_thickness() -
get_name
-
get_type
public int get_type() -
get_node
public int get_node() -
get_mutation
public int get_mutation() -
get_summit
public int get_summit() -
get_num
public int get_num() -
get_ratio
public float[] get_ratio() -
get_strength
public float[] get_strength() -
get_pair
-
is_3D
public boolean is_3D() -
is_vertex
public boolean is_vertex() -
fill_is
public boolean fill_is() -
stroke_is
public boolean stroke_is() -
alpha_is
public boolean alpha_is() -
fill_is
public void fill_is(boolean fill_is) -
stroke_is
public void stroke_is(boolean stroke_is) -
alpha_is
public void alpha_is(boolean alpha_is) -
aspect_is
public void aspect_is(boolean fill_is, boolean stroke_is, boolean alpha_is) -
init_bool_aspect
public void init_bool_aspect() -
aspect
public void aspect(int fill, int stroke, float thickness) -
aspect
-
aspect
public void aspect(int fill, int stroke, float thickness, int costume) -
aspect
-
aspect
-
aspect
-
show
public void show()It the main method, it's here where the choice what must be shown among the various objects in the collection -
show
It the main method, it's here where the choice what must be shown among the various objects in the collection- Parameters:
pos
-size
-rot
-
-