public class R_Graphic extends BigBang
ARC, BEZIER_VERTEX, BLANK, BOTTOM, BOX, BREAK, 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, DXF, DYNAMIC, EAST, ELLIPSE, EQUATION, EULER, FIT, FLOWER, FLUID, FX2D, G, GOLD_ANGLE, GOLD_NUMBER, GRAVITY, HENDECAGON, HEPTAGON, HEXAGON, HORIZONTAL, HOUSE, ICOSI_DODECAHEDRON_LINE, JAVA2D, 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, PDF, PENTAGON, PERLIN, PHI, PI, PIXEL, POINT, POLAR, QUADRATIC_VERTEX, RADIUS, RAND, RECT, RHOMBIC_COSI_DODECAHEDRON_SMALL_LINE, RIGHT, ROOT2, SCALE, SIN, SOUTH, SOUTH_EAST, SOUTH_WEST, SPHERE, SPHERE_HIGH, SPHERE_LOW, SPHERE_MEDIUM, SQUARE, STAR, STAR_3D, STATIC, SVG, 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, 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 |
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 documention
|
void |
shearY(float angle)
see Processing documention
|
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 p,
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 arg)
This Processing clone method, add check if any PGraphics is active, and if it's a case work ont 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)
Check if any PGraphics is active, and if it's a case work ont it
|
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, all, all, all, all, any, any, any, any, 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, mix, mix, mix, mix, mod, mod, mod, mod, mod, mod, mod, print_err_tempo, print_err, print_out, print_tempo, 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, 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
- y
- width
- 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
- public 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
- max_x
- max_y
- max_z
- max_a
- public 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
- y
- c
- public void set(vec2 pos, int c)
pos
- c
- public void set(ivec2 pos, int c)
pos
- c
- public 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 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 ellipse(float px, float py, float sx, float sy)
px
- py
- sx
- sy
- public 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 p, float extent)
p
- extent
- public void rect(float px, float py, float sx, float sy)
px
- py
- sx
- sy
- public 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
- y
- z
- public void box(float size)
public void box(vec3 p)
public void sphere(float radius)
radius
- public void sphereDetail(int res)
res
- public void sphereDetail(int ures, int vres)
ures
- vres
- public void fill(int rgb)
arg
- public 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 arg)
arg
- public 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
- public void thickness(float thickness)
thickness
- public void aspect(int fill, int stroke, float thickness)
public void aspect(int fill, int stroke, float thickness, processing.core.PGraphics other)
fill
- stroke
- thickness
- other
- public void push()
public void pushMatrix()
public void pop()
public void popMatrix()
public void translate(float x, float y, float z)
x
- y
- z
- public void translate(float x, float y)
x
- y
- public void translate(vec v)
v
- public void rotate(float angle)
angle
- public void rotateX(float angle)
angle
- public void rotateY(float angle)
angle
- public void rotateZ(float angle)
angle
- public void rotateXY(vec2 rot)
rot
- other
- public void rotateXZ(vec2 rot)
rot
- other
- public void rotateYZ(vec2 rot)
rot
- other
- public void rotateXYZ(vec3 rot)
rot
- other
- public void scale(float s)
s
- public 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)
z
- percentage to scale the object in the z-axispublic void shearX(float angle)
angle
- public void shearY(float angle)
angle
- public void beginContour()
public void endContour()
public void beginShape()
public void beginShape(int kind)
kind
- public void endShape()
public void endShape(int mode)
mode
- public void vertex(float x, float y, processing.core.PGraphics other)
x
- y
- other
- public void vertex(float x, float y, float z, processing.core.PGraphics other)
x
- y
- z
- other
- public void vertex(float[] v, processing.core.PGraphics other)
v
- other
- public void vertex(float x, float y, float u, float v, processing.core.PGraphics other)
x
- y
- u
- v
- other
- public void vertex(float x, float y, float z, float u, float v, processing.core.PGraphics other)
x
- y
- z
- u
- v
- other
- public void vertex(vec coord, processing.core.PGraphics other)
coord
- other
- public void vertex(vec2 coord, vec2 uv, processing.core.PGraphics other)
coord
- uv
- other
- public void vertex(vec3 coord, vec2 uv, processing.core.PGraphics other)
coord
- uv
- other
- public void vertex(vec v)
v
- public 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
- public void vertex(float x, float y, float u, float v)
x
- y
- u
- v
- public void vertex(float x, float y, float z, float u, float v)
x
- y
- z
- u
- v
- public 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)