Package rope.svg
Class R_SVG
java.lang.Object
rope.core.Rope
rope.core.BigBang
rope.core.R_Graphic
rope.svg.R_SVG
- 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, CHOICE, 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, FIRST, FIT, FLOWER, FLUID, FX2D, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HALF, HALF_PI, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, HPI, ICOSI_DODECAHEDRON_LINE, IMAGE, JAVA2D, LANDSCAPE, LAST, LEAF, LEFT, LINE, LINEAR, MAD, MAGNETIC, MAX_FLOAT, MAX_INT, MIN_FLOAT, MIN_INT, MIX, NEXT, NONAGON, NONE, NORMAL, NORTH, NORTH_EAST, NORTH_WEST, NOTCH, NOTHING, NULL, OCTOGON, OCTOHEDRON_LINE, OPEN, ORDER, P2D, P3D, PDF, PENTAGON, PERLIN, PHI, PI, PIE, PIXEL, POINT, POLAR, POLYGON, PORTRAIT, POW, PREVIOUS, 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
PERMANENTE CHANGE This change modify the original pointsbrick_name
(int target) String[]
void
build()
void
PUBLIC METHODcanvas()
canvas_brick
(int target) void
draw()
METHOD to draw all the SVGvoid
draw
(int ID) void
String[]
family_brick
(int target) String[]
family_brick_SVG
(ArrayList<R_Brick_SVG> list_brick) void
fill
(float value) void
fill
(float value, float alpha) void
fill
(float x, float y, float z) void
fill
(float x, float y, float z, float a) void
fill
(int c) This Processing clone method, add check if any PGraphics is active, and if it's a case work ont itvoid
void
fill_factor
(float x, float y, float z, float a) fill factor use value from '0' to '1' is better !void
fill_factor
(vec4 f) method to return different definition about the brickget_name()
float
height()
float
height_brick
(int target) void
jitter
(float x) JITEERvoid
jitter
(int x, int y) void
jitter
(int x, int y, int z) void
String[]
kind_brick
(int target) String[]
kind_brick_SVG
(ArrayList<R_Brick_SVG> list_brick) vec3[]
list_svg_vec
(int target) listvoid
mode
(int mode) SETTINGString[]
name_brick_SVG
(ArrayList<R_Brick_SVG> list_brick) INFOvoid
noFill()
fillvoid
noStroke()
strokeint
return quantity of brickvoid
opacity
(float a_fill, float a_stroke) opacityvoid
opacityFill
(float a) void
opacityStroke
(float a) void
original_fill
(boolean fill) void
original_stroke
(boolean stroke) void
original_style
(boolean fill, boolean stroke) original stylevoid
pos
(float x) POSvoid
pos
(float x, float y) void
pos
(float x, float y, float z) void
void
reset()
DRAWvoid
scaling
(boolean translation, float x) void
scaling
(boolean translation, float x, float y) void
scaling
(boolean translation, float x, float y, float z) void
void
scaling
(float x) SCALEvoid
scaling
(float x, float y) void
scaling
(float x, float y, float z) void
void
start()
void
stop()
void
stroke
(float value) void
stroke
(float value, float a) void
stroke
(float x, float y, float z) void
stroke
(float x, float y, float z, float a) void
stroke
(int c) This Processing clone method, add check if any PGraphics is active, and if it's a case work on itvoid
void
stroke_factor
(float x, float y, float z, float a) void
void
strokeWeight
(float x) strokeWeightfloat
width()
Canvas SVGfloat
width_brick
(int target) Canvas brick SVGMethods inherited from class rope.core.R_Graphic
arc, arc, arc, arc, aspect, aspect, background, background, background, background, background, background, beginContour, beginDraw, beginShape, beginShape, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, box, box, box, circle, circle, colorMode, colorMode, colorMode, colorMode, colorMode, colorMode, colorMode, createGraphics, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, ellipse, ellipse, ellipse, ellipse, ellipseMode, ellipseMode, endContour, endDraw, endShape, endShape, fill, get, get_renderer, get_renderer, image, image, image, image, image, index_pixel_array, line, line, line, line, loadPixels, loadShader, pass_graphic, plot, plot, plot, plot, plot_impl, plot_x2, plot_x2, 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, 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, updatePixels, 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
abs, abs, abs, abs, abs, abs, abs, abs, add, add, add, add, add, add, all, all, any, any, atan, barycenter, barycenter, barycenter, binary, binary, binary, binary, ceil, ceil, ceil, ceil, clamp, clamp, clamp, clamp, compare, compare, compare, compare, compare, compare, compare, compare, constrain, constrain, cos, cross, dist, dist, dist, dist, dist, div, div, div, div, div, div, equal, equal, equal, equal, equal, equal, equal, equal, extension, extension_is, file_name, floor, floor, floor, floor, fract, fract, fract, fract, get_os, get_os_family, getColorMode, getColorMode, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hex, hex, hex, hex, in_line, in_line, in_polygon, in_polygon, in_polygon, in_polygon, in_segment, in_segment, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, map, map, map, map, max, max, max, max, max, max, max, max, min, min, min, min, min, min, min, min, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, mult, mult, mult, mult, mult, mult, only, only, pow, print_err, print_err_tempo, print_out, print_tempo, projection, projection, projection, projection, projection, projection, projection, projection, random, random, random_next_gaussian, random_next_gaussian, random_next_gaussian, round, round, round, round, sign, sign, sign, sign, sign, sign, sign, sign, sin, smoothstep, smoothstep, smoothstep, smoothstep, split, split, sq, sqrt, step, step, step, step, sub, sub, sub, sub, sub, sub, to_cartesian_2D, to_cartesian_2D, to_cartesian_2D, to_cartesian_3D, to_cartesian_3D, to_cartesian_3D, truncate, truncate, unbinary, unhex
-
Constructor Details
-
R_SVG
CONSTRUCTOR -
R_SVG
-
-
Method Details
-
build
PUBLIC METHOD -
build
public void build() -
get_name
-
draw
public void draw()METHOD to draw all the SVG -
draw
public void draw(int ID) -
draw
-
pos
public void pos(float x) POS -
pos
public void pos(float x, float y) -
pos
public void pos(float x, float y, float z) -
pos
-
scaling
public void scaling(float x) SCALE -
scaling
public void scaling(float x, float y) -
scaling
public void scaling(float x, float y, float z) -
scaling
-
scaling
public void scaling(boolean translation, float x) -
scaling
public void scaling(boolean translation, float x, float y) -
scaling
public void scaling(boolean translation, float x, float y, float z) -
scaling
-
jitter
public void jitter(float x) JITEER -
jitter
public void jitter(int x, int y) -
jitter
public void jitter(int x, int y, int z) -
jitter
-
start
public void start() -
stop
public void stop() -
opacity
public void opacity(float a_fill, float a_stroke) opacity -
opacityStroke
public void opacityStroke(float a) -
opacityFill
public void opacityFill(float a) -
noFill
public void noFill()fill -
fill
public void fill(int c) Description copied from class:R_Graphic
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it -
fill
public void fill(float value) -
fill
public void fill(float value, float alpha) -
fill
public void fill(float x, float y, float z) -
fill
public void fill(float x, float y, float z, float a) -
fill
-
noStroke
public void noStroke()stroke -
stroke
public void stroke(int c) Description copied from class:R_Graphic
This Processing clone method, add check if any PGraphics is active, and if it's a case work on it -
stroke
public void stroke(float value) -
stroke
public void stroke(float value, float a) -
stroke
public void stroke(float x, float y, float z) -
stroke
public void stroke(float x, float y, float z, float a) -
stroke
-
strokeWeight
public void strokeWeight(float x) strokeWeight- Overrides:
strokeWeight
in classR_Graphic
- Parameters:
x
- float value for the strokeWeight
-
original_style
public void original_style(boolean fill, boolean stroke) original style -
original_fill
public void original_fill(boolean fill) -
original_stroke
public void original_stroke(boolean stroke) -
fill_factor
public void fill_factor(float x, float y, float z, float a) fill factor use value from '0' to '1' is better ! -
stroke_factor
public void stroke_factor(float x, float y, float z, float a) -
fill_factor
-
stroke_factor
-
add_def
PERMANENTE CHANGE This change modify the original points -
num_brick
public int num_brick()return quantity of brick -
list_svg_vec
list -
folder_brick_name
method to return different definition about the brick -
brick_name_list
-
brick_name
-
family_brick
-
family_brick
-
kind_brick
-
kind_brick
-
width
public float width()Canvas SVG -
height
public float height() -
canvas
-
width_brick
public float width_brick(int target) Canvas brick SVG -
height_brick
public float height_brick(int target) -
canvas_brick
-
mode
public void mode(int mode) SETTING -
reset
public void reset()DRAW -
name_brick_SVG
INFO -
kind_brick_SVG
-
family_brick_SVG
-