public class R_SVG extends R_Image
ALPHA, ARC, ARGB, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, BRIGHTNESS, 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, DYNAMIC, EAST, ELLIPSE, EQUATION, EULER, FIT, FLOWER, FLUID, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, HSB, HUE, ICOSI_DODECAHEDRON_LINE, 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, PENTAGON, PERLIN, PHI, PI, PIXEL, POINT, POLAR, QUADRATIC_VERTEX, RADIUS, RAND, RECT, RGB, RGBA, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT2, SATURATION, SCALE, SIN, SOUTH, SOUTH_EAST, SOUTH_WEST, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SQUARE, STAR, STAR_3D, STATIC, 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, AMARANTE, AMBRE, ARGENT, AUBERGINE, AZUR, BIS, BISTRE, BLACK, BLANC, BLEU, BLOND, BLOOD, BLUE, BOUTEILLE, 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, GRAY, GRAY_MEDIUM, GREEN, GRENAT, GRIS, GRIS_MOYEN, GUEULES, 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, PAYNE, PERLE, PERROQUET, PINK, PISTACHE, POURPRE, PRUNE, PURPLE, RED, ROSE, ROUGE, SANG, SAPIN, SAUGE, SEPIA, SHAKUDOU, SILVER, SINOPLE, SMALT, SOURIS, TAUPE, TILLEUL, TURQUOISE, VERMILLON, VERT, VERT_D_EAU, VERT_DE_GRIS, VESSIE, VIOLET, WHITE, YELLOW, ZINZOLIN
Constructor and Description |
---|
R_SVG(processing.core.PApplet pa,
java.lang.String path) |
R_SVG(processing.core.PApplet pa,
java.lang.String path,
java.lang.String folder_brick_name)
CONSTRUCTOR
|
Modifier and Type | Method and Description |
---|---|
void |
add_def(int target,
vec3... value)
PERMANENTE CHANGE
This change modify the original points
|
java.lang.String[] |
brick_name_list() |
java.lang.String |
brick_name(int target) |
void |
build() |
void |
build(java.lang.String path_import,
java.lang.String path_brick)
PUBLIC METHOD
|
vec2 |
canvas_brick(int target) |
vec2 |
canvas() |
void |
draw()
METHOD to draw all the SVG
|
void |
draw(int ID) |
void |
draw(java.lang.String layer_or_group_name) |
java.lang.String[] |
family_brick_SVG(java.util.ArrayList<R_Brick_SVG> list_brick) |
java.lang.String[] |
family_brick() |
java.lang.String |
family_brick(int target) |
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) |
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 it
|
void |
fill(vec v) |
java.lang.String |
folder_brick_name()
method to return different definition about the brick
|
float |
height_brick(int target) |
float |
height() |
void |
jitter(float x)
JITEER
|
void |
jitter(int x,
int y) |
void |
jitter(int x,
int y,
int z) |
void |
jitter(vec jitter_raw) |
java.lang.String[] |
kind_brick_SVG(java.util.ArrayList<R_Brick_SVG> list_brick) |
java.lang.String[] |
kind_brick() |
java.lang.String |
kind_brick(int target) |
vec3[] |
list_svg_vec(int target)
list
|
void |
mode(int mode)
SETTING
|
java.lang.String[] |
name_brick_SVG(java.util.ArrayList<R_Brick_SVG> list_brick)
INFO
|
void |
noFill()
fill
|
void |
noStroke()
stroke
|
int |
num_brick()
return quantity of brick
|
void |
opacity(float a_fill,
float a_stroke)
opacity
|
void |
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 style
|
void |
pos(float x)
POS
|
void |
pos(float x,
float y) |
void |
pos(float x,
float y,
float z) |
void |
pos(vec pos_raw) |
void |
reset()
DRAW
|
void |
scaling(boolean translation,
float x) |
void |
scaling(boolean translation,
float x,
float y) |
void |
scaling(boolean translation,
float x,
float y,
float z) |
void |
scaling(boolean translation,
vec scale_raw) |
void |
scaling(float x)
SCALE
|
void |
scaling(float x,
float y) |
void |
scaling(float x,
float y,
float z) |
void |
scaling(vec scale_raw) |
void |
start() |
void |
stop() |
void |
stroke_factor(float x,
float y,
float z,
float a) |
void |
stroke_factor(vec4 f) |
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 ont it
|
void |
stroke(vec v) |
void |
strokeWeight(float x)
strokeWeight
|
float |
width_brick(int target)
Canvas brick SVG
|
float |
width()
Canvas SVG
|
alpha, aspect, aspect, beginContour, beginShape, beginShape, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, bezierVertex, blue, box, box, box, brightness, color, color, color, color, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, curveVertex, ellipse, ellipse, ellipse, ellipse, endContour, endShape, endShape, fill, get_renderer, get_renderer, green, hue, line, line, line, line, loadImage, pass_graphic, point, point, point, point, pop, popMatrix, push, pushMatrix, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, quadraticVertex, rect, rect, rectMode, red, renderer_P3D, rotate, rotateX, rotateXY, rotateXYZ, rotateXZ, rotateY, rotateYZ, rotateZ, saturation, scale, scale, scale, set, set, set, 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, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex, vertex
all, all, all, all, all, any, any, any, any, any, clamp, clamp, clamp, clamp, equal, equal, equal, equal, equal, equal, equal, equal, file_name, fract, fract, fract, fract, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, 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, 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, unhex
public R_SVG(processing.core.PApplet pa, java.lang.String path, java.lang.String folder_brick_name)
public R_SVG(processing.core.PApplet pa, java.lang.String path)
public void build(java.lang.String path_import, java.lang.String path_brick)
public void build()
public void draw()
public void draw(int ID)
public void draw(java.lang.String layer_or_group_name)
public void pos(float x)
public void pos(float x, float y)
public void pos(float x, float y, float z)
public void pos(vec pos_raw)
public void scaling(float x)
public void scaling(float x, float y)
public void scaling(float x, float y, float z)
public void scaling(vec scale_raw)
public void scaling(boolean translation, float x)
public void scaling(boolean translation, float x, float y)
public void scaling(boolean translation, float x, float y, float z)
public void scaling(boolean translation, vec scale_raw)
public void jitter(float x)
public void jitter(int x, int y)
public void jitter(int x, int y, int z)
public void jitter(vec jitter_raw)
public void start()
public void stop()
public void opacity(float a_fill, float a_stroke)
public void opacityStroke(float a)
public void opacityFill(float a)
public void fill(int c)
R_Image
public void fill(vec v)
public void stroke(int c)
R_Image
public void stroke(vec v)
public void strokeWeight(float x)
strokeWeight
in class R_Image
public void original_style(boolean fill, boolean stroke)
public void original_fill(boolean fill)
public void original_stroke(boolean stroke)
public void fill_factor(float x, float y, float z, float a)
public void stroke_factor(float x, float y, float z, float a)
public void fill_factor(vec4 f)
public void stroke_factor(vec4 f)
public void add_def(int target, vec3... value)
public int num_brick()
public vec3[] list_svg_vec(int target)
public java.lang.String folder_brick_name()
public java.lang.String[] brick_name_list()
public java.lang.String brick_name(int target)
public java.lang.String[] family_brick()
public java.lang.String family_brick(int target)
public java.lang.String[] kind_brick()
public java.lang.String kind_brick(int target)
public float width()
public float height()
public vec2 canvas()
public float width_brick(int target)
public float height_brick(int target)
public vec2 canvas_brick(int target)
public void mode(int mode)
public void reset()
public java.lang.String[] name_brick_SVG(java.util.ArrayList<R_Brick_SVG> list_brick)
public java.lang.String[] kind_brick_SVG(java.util.ArrayList<R_Brick_SVG> list_brick)
public java.lang.String[] family_brick_SVG(java.util.ArrayList<R_Brick_SVG> list_brick)