public class R_Graphic extends BigBang
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_Graphic(processing.core.PApplet pa) |
R_Graphic(processing.core.PApplet pa,
processing.core.PGraphics other) |
Modifier and Type | Method and Description |
---|---|
void |
arc(float px,
float py,
float sx,
float sy,
float start,
float stop) |
void |
arc(float px,
float py,
float sx,
float sy,
float start,
float stop,
int mode) |
void |
arc(vec2 pos,
vec2 size,
float start,
float stop) |
void |
arc(vec2 pos,
vec2 size,
float start,
float stop,
int mode) |
void |
aspect(int fill,
int stroke,
float thickness) |
void |
aspect(int fill,
int stroke,
float thickness,
processing.core.PGraphics other)
check if any PGraphics is active, and if it's a case work ont it
|
void |
beginContour()
BEGIN_CONTOUR / END_CONTOUR
|
void |
beginShape()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
beginShape(int kind)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
bezierVertex(float x2,
float y2,
float x3,
float y3,
float x4,
float y4) |
void |
bezierVertex(float x2,
float y2,
float z2,
float x3,
float y3,
float z3,
float x4,
float y4,
float z4) |
void |
bezierVertex(float x2,
float y2,
float z2,
float x3,
float y3,
float z3,
float x4,
float y4,
float z4,
processing.core.PGraphics other) |
void |
bezierVertex(float x2,
float y2,
float x3,
float y3,
float x4,
float y4,
processing.core.PGraphics other)
BEZIER VERTEX
|
void |
bezierVertex(vec a,
vec b,
vec pos) |
void |
bezierVertex(vec a,
vec b,
vec pos,
processing.core.PGraphics other) |
void |
box(float size) |
void |
box(float x,
float y,
float z)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
box(vec3 p) |
void |
colorMode(int mode) |
void |
colorMode(int mode,
float max) |
void |
colorMode(int mode,
float max_x,
float max_y,
float max_z) |
void |
colorMode(int mode,
float max_x,
float max_y,
float max_z,
float max_a) |
void |
colorMode(int mode,
vec2 arg) |
void |
colorMode(int mode,
vec3 arg) |
void |
colorMode(int mode,
vec4 arg) |
processing.core.PGraphics |
createGraphics(float x,
float y,
java.lang.String type) |
void |
curveVertex(float x,
float y) |
void |
curveVertex(float x,
float y,
float z) |
void |
curveVertex(float x,
float y,
float z,
processing.core.PGraphics other) |
void |
curveVertex(float x,
float y,
processing.core.PGraphics other) |
void |
curveVertex(vec pos) |
void |
curveVertex(vec pos,
processing.core.PGraphics other) |
void |
ellipse(float px,
float py,
float sx,
float sy)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
ellipse(vec p,
float x) |
void |
ellipse(vec p,
float x,
float y) |
void |
ellipse(vec p,
vec s) |
int |
ellipseMode() |
void |
ellipseMode(int mode) |
void |
endContour() |
void |
endShape()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
endShape(int mode) |
void |
fill(float gray) |
void |
fill(float gray,
float alpha) |
void |
fill(float x,
float y,
float z) |
void |
fill(float x,
float y,
float z,
float a) |
void |
fill(int rgb)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
fill(int rgb,
float alpha) |
java.lang.String |
get_renderer() |
java.lang.String |
get_renderer(processing.core.PGraphics graph)
Return the current render in your processing Sketch
|
int |
get(int x,
int y) |
void |
image(processing.core.PImage img,
float a,
float b) |
void |
image(processing.core.PImage img,
float a,
float b,
float c,
float d) |
void |
image(processing.core.PImage img,
float a,
float b,
float c,
float d,
int u1,
int v1,
int u2,
int v2) |
void |
image(processing.core.PImage img,
vec pos) |
int |
index_pixel_array(int x,
int y,
int width) |
void |
line(float x1,
float y1,
float x2,
float y2)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
line(float x1,
float y1,
float z1,
float x2,
float y2,
float z2)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
line(ivec a,
ivec b) |
void |
line(vec a,
vec b) |
processing.opengl.PShader |
loadShader(java.lang.String path) |
void |
noFill()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
noStroke()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
pass_graphic(processing.core.PGraphics other) |
void |
point(float x,
float y)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
point(float x,
float y,
float z)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
point(ivec pos) |
void |
point(vec pos) |
void |
pop()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
popMatrix()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
push()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
pushMatrix()
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
quadraticVertex(float cx,
float cy,
float x3,
float y3) |
void |
quadraticVertex(float cx,
float cy,
float cz,
float x3,
float y3,
float z3) |
void |
quadraticVertex(float cx,
float cy,
float cz,
float x3,
float y3,
float z3,
processing.core.PGraphics other) |
void |
quadraticVertex(float cx,
float cy,
float x3,
float y3,
processing.core.PGraphics other)
QUADRATIC VERTEX
|
void |
quadraticVertex(vec a,
vec b) |
void |
quadraticVertex(vec a,
vec b,
processing.core.PGraphics other) |
void |
rect(float px,
float py,
float sx,
float sy)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
rect(float px,
float py,
float sx,
float sy,
float r) |
void |
rect(float px,
float py,
float sx,
float sy,
float tl,
float tr,
float br,
float bl) |
void |
rect(vec p,
vec s) |
void |
rect(vec p,
vec s,
float rounded) |
void |
rect(vec p,
vec s,
vec4 rounded) |
int |
rectMode() |
void |
rectMode(int mode)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
boolean |
renderer_P2D() |
boolean |
renderer_P3D() |
void |
rotate(float angle)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
rotateX(float angle)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
rotateXY(vec2 rot) |
void |
rotateXYZ(vec3 rot) |
void |
rotateXZ(vec2 rot) |
void |
rotateY(float angle)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
rotateYZ(vec2 rot) |
void |
rotateZ(float angle)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
scale(float s)
Increases or decreases the size of a shape by expanding and contracting
vertices.
|
void |
scale(float x,
float y)
Not recommended for use in 3D, because the z-dimension is just
scaled by 1, since there's no way to know what else to scale it by.
|
void |
scale(float x,
float y,
float z) |
void |
set(int x,
int y,
int c)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
set(ivec2 pos,
int c) |
void |
set(vec2 pos,
int c) |
void |
shader(processing.opengl.PShader shader)
SHADER
|
void |
shearX(float angle)
see Processing information
|
void |
shearY(float angle)
see Processing information
|
void |
sphere(float radius)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
sphereDetail(int res)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
sphereDetail(int ures,
int vres)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
square(float x,
float y,
float extent)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
square(vec pos,
float extent) |
void |
stroke(float gray) |
void |
stroke(float gray,
float alpha) |
void |
stroke(float x,
float y,
float z) |
void |
stroke(float x,
float y,
float z,
float a) |
void |
stroke(int rgb)
This Processing clone method, add check if any PGraphics is active, and if it's a case work on it
|
void |
stroke(int rgb,
float alpha) |
void |
strokeWeight(float thickness)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
text(char[] chars,
int start,
int stop,
float x,
float y) |
void |
text(char[] chars,
int start,
int stop,
float x,
float y,
float z) |
void |
text(char c,
float x,
float y) |
void |
text(char c,
float x,
float y,
float z) |
void |
text(char c,
vec pos) |
void |
text(float f_num,
float x,
float y) |
void |
text(float f_num,
float x,
float y,
float z) |
void |
text(float f,
vec pos) |
void |
text(int i_num,
float x,
float y) |
void |
text(int i_num,
float x,
float y,
float z) |
void |
text(int i,
vec pos) |
void |
text(java.lang.String str,
float x,
float y) |
void |
text(java.lang.String str,
float x,
float y,
float z)
Same as above but with a z coordinate.
|
void |
text(java.lang.String str,
float x1,
float y1,
float x2,
float y2) |
void |
text(java.lang.String s,
vec pos) |
void |
text(java.lang.String s,
vec2 pos,
vec2 size) |
void |
textAlign(int alignX)
TEXT
|
void |
textAlign(int alignX,
int alignY) |
void |
textFont(processing.core.PFont which) |
void |
textFont(processing.core.PFont which,
float size) |
void |
textSize(float size) |
void |
thickness(float thickness)
This method is like strokeWeight of Processing
|
void |
translate(float x,
float y)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
translate(float x,
float y,
float z)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
translate(vec v) |
void |
triangle(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont it
|
void |
triangle(ivec a,
ivec b,
ivec c) |
void |
triangle(vec a,
vec b,
vec c) |
void |
vertex(float[] v) |
void |
vertex(float[] v,
processing.core.PGraphics other) |
void |
vertex(float x,
float y) |
void |
vertex(float x,
float y,
float z) |
void |
vertex(float x,
float y,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float u,
float v) |
void |
vertex(float x,
float y,
float z,
float u,
float v,
processing.core.PGraphics other) |
void |
vertex(float x,
float y,
float u,
float v,
processing.core.PGraphics other) |
void |
vertex(float x,
float y,
float z,
processing.core.PGraphics other) |
void |
vertex(float x,
float y,
processing.core.PGraphics other) |
void |
vertex(vec v) |
void |
vertex(vec2 v,
vec2 uv) |
void |
vertex(vec2 coord,
vec2 uv,
processing.core.PGraphics other) |
void |
vertex(vec3 v,
vec2 uv) |
void |
vertex(vec3 coord,
vec2 uv,
processing.core.PGraphics other) |
void |
vertex(vec coord,
processing.core.PGraphics other) |
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 R_Graphic(processing.core.PApplet pa)
public R_Graphic(processing.core.PApplet pa, processing.core.PGraphics other)
public int index_pixel_array(int x, int y, int width)
index_pixel_array
in class Rope
x
- int coordinate of your targeting pixely
- int coordinate of your targeting pixelwidth
- is the width of your imagepublic boolean renderer_P3D()
public boolean renderer_P2D()
public java.lang.String get_renderer()
get_renderer
in class BigBang
public java.lang.String get_renderer(processing.core.PGraphics graph)
BigBang
get_renderer
in class BigBang
graph
- pass the graphics context like P3D, P2D...public void pass_graphic(processing.core.PGraphics other)
other
- PGraphics rendering art workpublic processing.core.PGraphics createGraphics(float x, float y, java.lang.String type)
public void colorMode(int mode, float max_x, float max_y, float max_z, float max_a)
mode
- type color environment RGB or HSBmax_x
- float max value for X componentmax_y
- float max value for Y componentmax_z
- float max value for Z componentmax_a
- float max value for alpha componentpublic void colorMode(int mode, vec3 arg)
public void colorMode(int mode, vec2 arg)
public void colorMode(int mode, vec4 arg)
public void colorMode(int mode)
public void colorMode(int mode, float max)
public void colorMode(int mode, float max_x, float max_y, float max_z)
public void shader(processing.opengl.PShader shader)
public processing.opengl.PShader loadShader(java.lang.String path)
public void image(processing.core.PImage img, vec pos)
public void image(processing.core.PImage img, float a, float b)
public void image(processing.core.PImage img, float a, float b, float c, float d)
public void image(processing.core.PImage img, float a, float b, float c, float d, int u1, int v1, int u2, int v2)
public int get(int x, int y)
public void set(int x, int y, int c)
x
- position to set pixely
- position to set pixelc
- int color pixelpublic void set(vec2 pos, int c)
pos
- vec2 position to set pixelc
- int color pixelpublic void set(ivec2 pos, int c)
pos
- ivec2 position to set pixelc
- int color pixelpublic void point(float x, float y)
x
- x-coordinate of the pointy
- y-coordinate of the pointpublic void point(float x, float y, float z)
x
- x-coordinate of the pointy
- y-coordinate of the pointz
- z-coordinate of the pointpublic void point(vec pos)
pos
- x,y,z-coordinate of the pointpublic void point(ivec pos)
pos
- x,y,z-coordinate of the pointpublic void line(float x1, float y1, float x2, float y2)
x1
- x-coordinate of the first pointy1
- y-coordinate of the first pointx2
- x-coordinate of the second pointy2
- y-coordinate of the second pointpublic void line(float x1, float y1, float z1, float x2, float y2, float z2)
z1
- z-coordinate of the first pointz2
- z-coordinate of the second pointpublic void line(vec a, vec b)
a
- vec position of a pointb
- vec position of b pointpublic void line(ivec a, ivec b)
a
- ivec position of a pointb
- ivec position of b pointpublic void triangle(ivec a, ivec b, ivec c)
a
- ivec position of a summitb
- ivec position of b summitc
- ivec position of c summitpublic void triangle(vec a, vec b, vec c)
a
- vec position of a summitb
- vec position of b summitc
- vec position of c summitpublic void triangle(float x1, float y1, float x2, float y2, float x3, float y3)
x1
- x-coordinate of the first pointy1
- y-coordinate of the first pointx2
- x-coordinate of the second pointy2
- y-coordinate of the second pointx3
- x-coordinate of the third pointy3
- y-coordinate of the third pointPApplet.beginShape()
public void rectMode(int mode)
mode
- either CORNER, CORNERS, CENTER, or RADIUSpublic int rectMode()
public void arc(float px, float py, float sx, float sy, float start, float stop)
public void arc(float px, float py, float sx, float sy, float start, float stop, int mode)
public void ellipse(float px, float py, float sx, float sy)
px
- float value for the ellipse positionpy
- float value for the ellipse positionsx
- float value for the ellipse sizesy
- float value for the ellipse sizepublic void ellipse(vec p, float x, float y)
public void ellipse(vec p, float x)
public void ellipseMode(int mode)
public int ellipseMode()
public void square(float x, float y, float extent)
x
- x-coordinate of the rectangle by defaulty
- y-coordinate of the rectangle by defaultextent
- width and height of the rectangle by defaultpublic void square(vec pos, float extent)
pos
- vec value for position, vec2 or vec3 is accepted for x,y and z coordinateextent
- float value for side size of the rect / squarepublic void rect(float px, float py, float sx, float sy)
px
- float value for positionpy
- float value for positionsx
- float value for sizesy
- float value for sizepublic void rect(float px, float py, float sx, float sy, float r)
public void rect(float px, float py, float sx, float sy, float tl, float tr, float br, float bl)
public void box(float x, float y, float z)
x
- float value for sizey
- float value for sizez
- float value for sizepublic void box(float size)
public void box(vec3 p)
public void sphere(float radius)
radius
- float value for sphere radiuspublic void sphereDetail(int res)
res
- int value for details sphere renderingpublic void sphereDetail(int ures, int vres)
ures
- int value for sphere details renderingvres
- int value for sphere details renderingpublic void fill(int rgb)
rgb
- in value for the stroke colorpublic void fill(int rgb, float alpha)
public void fill(float gray)
public void fill(float gray, float alpha)
public void fill(float x, float y, float z)
public void fill(float x, float y, float z, float a)
public void noFill()
public void stroke(int rgb)
rgb
- in value for the stroke colorpublic void stroke(int rgb, float alpha)
public void stroke(float gray)
public void stroke(float gray, float alpha)
public void stroke(float x, float y, float z)
public void stroke(float x, float y, float z, float a)
public void noStroke()
public void strokeWeight(float thickness)
thickness
- float value for the strokeWeightpublic void thickness(float thickness)
thickness
- float value for the strokeWeightpublic void aspect(int fill, int stroke, float thickness)
public void aspect(int fill, int stroke, float thickness, processing.core.PGraphics other)
fill
- int value for color fillstroke
- int value for color strokethickness
- float value for the strokeWeightother
- is your PGRaphics to render your art workpublic void push()
public void pushMatrix()
public void pop()
public void popMatrix()
public void translate(float x, float y, float z)
x
- float value to translate in xy
- float value to translate in yz
- float value to translate in zpublic void translate(float x, float y)
x
- float value to translate in xy
- float value to translate in ypublic void translate(vec v)
v
- vec value for translation in x,y or x,y, zpublic void rotate(float angle)
angle
- float value in radiant for rotationpublic void rotateX(float angle)
angle
- float value in radiant for rotationpublic void rotateY(float angle)
angle
- float value in radiant for rotationpublic void rotateZ(float angle)
angle
- float value in radiant for rotationpublic void rotateXY(vec2 rot)
rot
- vec2 radiant value for the rotationpublic void rotateXZ(vec2 rot)
rot
- vec2 radiant value for the rotationpublic void rotateYZ(vec2 rot)
rot
- vec2 radiant value for the rotationpublic void rotateXYZ(vec3 rot)
rot
- vec3 radiant value for the rotationpublic void scale(float s)
s
- float value to scalepublic void scale(float x, float y)
x
- percentage to scale the object in the x-axisy
- percentage to scale the object in the y-axispublic void scale(float x, float y, float z)
x
- percentage to scale the object in the x-axisy
- percentage to scale the object in the y-axisz
- percentage to scale the object in the z-axispublic void shearX(float angle)
angle
- float radiant value for shearpublic void shearY(float angle)
angle
- float radiant value for shearpublic void beginContour()
public void endContour()
public void beginShape()
public void beginShape(int kind)
kind
- type of renderingpublic void endShape()
public void endShape(int mode)
mode
- type of renderingpublic void vertex(float x, float y, processing.core.PGraphics other)
x
- float value for coordinatey
- float value for coordinateother
- PGraphics renderingpublic void vertex(float x, float y, float z, processing.core.PGraphics other)
x
- float value for coordinatey
- float value for coordinatez
- float value for coordinateother
- PGraphics renderingpublic void vertex(float[] v, processing.core.PGraphics other)
v
- array value for coordinateother
- PGraphics renderingpublic void vertex(float x, float y, float u, float v, processing.core.PGraphics other)
x
- float value for coordinatey
- float value for coordinateu
- float value for uvv
- float value for uvother
- PGraphics renderingpublic void vertex(float x, float y, float z, float u, float v, processing.core.PGraphics other)
x
- float value for coordinatey
- float value for coordinatez
- float value for coordinateu
- float value for uvv
- float value for uvother
- PGraphics renderingpublic void vertex(vec coord, processing.core.PGraphics other)
coord
- vec position for the vertexother
- PGraphics renderingpublic void vertex(vec2 coord, vec2 uv, processing.core.PGraphics other)
coord
- vec2 position for the vertexuv
- vec uv for the vertexother
- PGraphics renderingpublic void vertex(vec3 coord, vec2 uv, processing.core.PGraphics other)
coord
- vec3 position for the vertexuv
- vec uv for the vertexother
- PGraphics renderingpublic void vertex(vec v)
v
- vec position for the vertexpublic void vertex(float x, float y)
x
- x-coordinate of the vertexy
- y-coordinate of the vertexpublic void vertex(float x, float y, float z)
x
- x-coordinate of the vertexy
- y-coordinate of the vertexz
- z-coordinate of the vertexpublic void vertex(float[] v)
v
- array value for coordinatepublic void vertex(float x, float y, float u, float v)
x
- float value for coordinatey
- float value for coordinateu
- float value for uvv
- float value for uvpublic void vertex(float x, float y, float z, float u, float v)
x
- float value for coordinatey
- float value for coordinatez
- float value for coordinateu
- float value for uvv
- float value for uvpublic void bezierVertex(float x2, float y2, float x3, float y3, float x4, float y4, processing.core.PGraphics other)
public void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4, processing.core.PGraphics other)
public void bezierVertex(float x2, float y2, float x3, float y3, float x4, float y4)
x2
- the x-coordinate of the 1st control pointy2
- the y-coordinate of the 1st control pointx3
- the x-coordinate of the 2nd control pointy3
- the y-coordinate of the 2nd control pointx4
- the x-coordinate of the anchor pointy4
- the y-coordinate of the anchor pointpublic void bezierVertex(float x2, float y2, float z2, float x3, float y3, float z3, float x4, float y4, float z4)
x2
- the x-coordinate of the 1st control pointy2
- the y-coordinate of the 1st control pointz2
- the z-coordinate of the 1st control pointx3
- the x-coordinate of the 2nd control pointy3
- the y-coordinate of the 2nd control pointz3
- the z-coordinate of the 2nd control pointx4
- the x-coordinate of the anchor pointy4
- the y-coordinate of the anchor pointz4
- the z-coordinate of the anchor pointpublic void quadraticVertex(float cx, float cy, float x3, float y3, processing.core.PGraphics other)
public void quadraticVertex(float cx, float cy, float cz, float x3, float y3, float z3, processing.core.PGraphics other)
public void quadraticVertex(float cx, float cy, float x3, float y3)
cx
- the x-coordinate of the control pointcy
- the y-coordinate of the control pointx3
- the x-coordinate of the anchor pointy3
- the y-coordinate of the anchor pointpublic void quadraticVertex(float cx, float cy, float cz, float x3, float y3, float z3)
cx
- the x-coordinate of the control pointcy
- the y-coordinate of the control pointcz
- the z-coordinate of the control pointx3
- the x-coordinate of the anchor pointy3
- the y-coordinate of the anchor pointz3
- the z-coordinate of the anchor pointpublic void curveVertex(float x, float y, float z, processing.core.PGraphics other)
x
- y
- z
- other
- public void curveVertex(float x, float y, processing.core.PGraphics other)
public void curveVertex(vec pos, processing.core.PGraphics other)
public void curveVertex(vec pos)
public void curveVertex(float x, float y)
x
- the x-coordinate of the vertexy
- the y-coordinate of the vertexpublic void curveVertex(float x, float y, float z)
x
- the x-coordinate of the vertexy
- the y-coordinate of the vertexz
- the z-coordinate of the vertexpublic void textAlign(int alignX)
public void textAlign(int alignX, int alignY)
alignX
- horizontal alignment, either LEFT, CENTER, or RIGHTalignY
- vertical alignment, either TOP, BOTTOM, CENTER, or BASELINEpublic void textFont(processing.core.PFont which)
public void textFont(processing.core.PFont which, float size)
size
- the size of the letters in units of pixelspublic void textSize(float size)
public void text(char c, float x, float y)
public void text(char c, float x, float y, float z)
public void text(java.lang.String str, float x, float y)
public void text(char[] chars, int start, int stop, float x, float y)
public void text(java.lang.String str, float x, float y, float z)
public void text(char[] chars, int start, int stop, float x, float y, float z)
public void text(java.lang.String str, float x1, float y1, float x2, float y2)
public void text(int i_num, float x, float y)
public void text(int i_num, float x, float y, float z)
public void text(float f_num, float x, float y)
public void text(float f_num, float x, float y, float z)
public void text(java.lang.String s, vec pos)
public void text(char c, vec pos)
public void text(int i, vec pos)
public void text(float f, vec pos)