C# Class Processing.PLang

ファイルを表示 Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
GetRectForMode ( float x, float y, float width, float height, int mode ) : RectangleI
PLang ( ) : System
PLang ( PRenderer rndr ) : System
abs ( float x ) : float
abs ( int x ) : int
acos ( float v ) : float
alpha ( color c ) : float
arc ( float x, float y, float width, float height, float start, float stop ) : void
asin ( float x ) : float
atan ( float x ) : float
atan2 ( float y, float x ) : float
background ( color c ) : void
background ( color c, int alpha ) : void
background ( int gray ) : void
background ( int gray, int alpha ) : void
background ( int v1, int v2, int v3 ) : void
background ( int v1, int v2, int v3, int alpha ) : void
beginShape ( ) : void
beginShape ( int mode ) : void
bezier ( int x1, int y1, int cx1, int cy1, int cx2, int cy2, int x2, int y2 ) : void
blendColor ( color c1, color c2, BLENDMODE mode ) : color
blue ( color c ) : float
ceil ( float x ) : int
color ( double v1, double v2, double v3 ) : color
color ( int gray ) : color
color ( int gray, int alpha ) : color
color ( int v1, int v2, int v3 ) : color
color ( int v1, int v2, int v3, int alpha ) : color
colorMode ( int mode ) : void
colorMode ( int mode, int range ) : void
colorMode ( int mode, int range1, int range2, int range3 ) : void
colorMode ( int mode, int range1, int range2, int range3, int range4 ) : void
constrain ( float x, float minVal, float maxVal ) : float
constrain ( int x, int minVal, int maxVal ) : int
cos ( float x ) : float
createImage ( int width, int height, FORMAT format ) : PImage
cursor ( ) : void
cursor ( MODE mode ) : void
cursor ( PImage image, int x, int y ) : void
degrees ( float x ) : float
delay ( int milliseconds ) : void
dist ( float x1, float y1, float x2, float y2 ) : float
dist ( int x1, int y1, int x2, int y2 ) : float
draw ( ) : void
ellipse ( float x, float y, float width, float height ) : void
ellipseMode ( int mode ) : void
endShape ( ) : void
endShape ( int mode ) : void
exit ( ) : void
exp ( float x ) : float
exp ( int x ) : float
fill ( color c ) : void
fill ( color c, int alpha ) : void
fill ( int gray ) : void
fill ( int gray, int alpha ) : void
fill ( int v1, int v2, int v3 ) : void
fill ( int v1, int v2, int v3, int alpha ) : void
floor ( float x ) : int
frameRate ( int fps ) : void
green ( color c ) : float
hint ( int item ) : void
lerp ( double value1, double value2, double amt ) : float
lerp ( int value1, int value2, float amt ) : float
line ( float x1, float y1, float x2, float y2 ) : void
line ( float x1, float y1, float z1, float x2, float y2, float z2 ) : void
log ( float x ) : float
log ( int x ) : float
loop ( ) : void
mag ( float x, float y ) : float
mag ( float x, float y, float z ) : float
map ( float x, float low1, float high1, float low2, float high2 ) : float
max ( float xv ) : float
max ( float x, float y ) : float
max ( float x, float y, float z ) : float
min ( float xv ) : float
min ( float x, float y ) : float
min ( float x, float y, float z ) : float
noCursor ( ) : void

Hides the cursor from view.

noFill ( ) : void
noLoop ( ) : void
noStroke ( ) : void
noise ( float x ) : float
noise ( float x, float y ) : float
noise ( float x, float y, float z ) : float
noiseDetail ( int octaves ) : void
noiseDetail ( int octaves, float falloff ) : void
noiseSeed ( int x ) : float
norm ( float x, float low, float high ) : float
onsize ( int width, int height ) : void
point ( float x, float y ) : void
point ( float x, float y, float z ) : void
popStyle ( ) : void
pow ( float num, float exponent ) : float
pushStyle ( ) : void
quad ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : void
radians ( float x ) : float
random ( float high ) : float
random ( float low, float high ) : float
randomSeed ( int seed ) : void
rect ( float x, float y, float width, float height ) : void
rectMode ( int mode ) : void
red ( color c ) : float
redraw ( ) : void
round ( float value ) : int
set ( int x, int y, color c ) : void
setup ( ) : void
sin ( float x ) : float
size ( int width_, int height_ ) : void
smooth ( ) : void
sq ( float x ) : float
sqrt ( float x ) : float
stroke ( color c ) : void
stroke ( color c, int alpha ) : void
stroke ( int gray ) : void
stroke ( int gray, int alpha ) : void
stroke ( int v1, int v2, int v3 ) : void
stroke ( int v1, int v2, int v3, int alpha ) : void
strokeCap ( int cap ) : void
strokeJoin ( int join ) : void
strokeWeight ( double weight_ ) : void
strokeWeight ( int weight_ ) : void
tan ( float x ) : float
triangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
vertex ( double x, double y ) : void
vertex ( double x, double y, double z ) : void
vertex ( double x, double y, double u, double v ) : void
vertex ( double x, double y, double z, double u, double v ) : void
vertex ( int x, int y ) : void
vertex ( int x, int y, int z ) : void
vertex ( int x, int y, int u, int v ) : void
vertex ( int x, int y, int z, int u, int v ) : void

Protected Methods

Method Description
DrawLines ( PVertex pts ) : void
DrawPoints ( PVertex pts ) : void
DrawQuadStrip ( PVertex pts ) : void
DrawQuads ( PVertex pts ) : void
DrawTriangleFan ( PVertex pts ) : void
DrawTriangleStrip ( PVertex pts ) : void
DrawTriangles ( PVertex pts ) : void
ResetBrush ( ) : void
ResetPen ( ) : void
SetRenderer ( PRenderer r ) : void

Private Methods

Method Description
GetPoints ( PVertex pts ) : NewTOAPIA.Graphics.Point2I[]
createGraphics ( int width, int heigh, PRenderer renderer ) : PImage

Method Details

DrawLines() protected method

protected DrawLines ( PVertex pts ) : void
pts PVertex
return void

DrawPoints() protected method

protected DrawPoints ( PVertex pts ) : void
pts PVertex
return void

DrawQuadStrip() protected method

protected DrawQuadStrip ( PVertex pts ) : void
pts PVertex
return void

DrawQuads() protected method

protected DrawQuads ( PVertex pts ) : void
pts PVertex
return void

DrawTriangleFan() protected method

protected DrawTriangleFan ( PVertex pts ) : void
pts PVertex
return void

DrawTriangleStrip() protected method

protected DrawTriangleStrip ( PVertex pts ) : void
pts PVertex
return void

DrawTriangles() protected method

protected DrawTriangles ( PVertex pts ) : void
pts PVertex
return void

GetRectForMode() public method

public GetRectForMode ( float x, float y, float width, float height, int mode ) : RectangleI
x float
y float
width float
height float
mode int
return RectangleI

PLang() public method

public PLang ( ) : System
return System

PLang() public method

public PLang ( PRenderer rndr ) : System
rndr PRenderer
return System

ResetBrush() protected method

protected ResetBrush ( ) : void
return void

ResetPen() protected method

protected ResetPen ( ) : void
return void

SetRenderer() protected method

protected SetRenderer ( PRenderer r ) : void
r PRenderer
return void

abs() public method

public abs ( float x ) : float
x float
return float

abs() public method

public abs ( int x ) : int
x int
return int

acos() public method

public acos ( float v ) : float
v float
return float

alpha() public method

public alpha ( color c ) : float
c color
return float

arc() public method

public arc ( float x, float y, float width, float height, float start, float stop ) : void
x float
y float
width float
height float
start float
stop float
return void

asin() public method

public asin ( float x ) : float
x float
return float

atan() public method

public atan ( float x ) : float
x float
return float

atan2() public method

public atan2 ( float y, float x ) : float
y float
x float
return float

background() public method

public background ( color c ) : void
c color
return void

background() public method

public background ( color c, int alpha ) : void
c color
alpha int
return void

background() public method

public background ( int gray ) : void
gray int
return void

background() public method

public background ( int gray, int alpha ) : void
gray int
alpha int
return void

background() public method

public background ( int v1, int v2, int v3 ) : void
v1 int
v2 int
v3 int
return void

background() public method

public background ( int v1, int v2, int v3, int alpha ) : void
v1 int
v2 int
v3 int
alpha int
return void

beginShape() public method

public beginShape ( ) : void
return void

beginShape() public method

public beginShape ( int mode ) : void
mode int
return void

bezier() public method

public bezier ( int x1, int y1, int cx1, int cy1, int cx2, int cy2, int x2, int y2 ) : void
x1 int
y1 int
cx1 int
cy1 int
cx2 int
cy2 int
x2 int
y2 int
return void

blendColor() public method

public blendColor ( color c1, color c2, BLENDMODE mode ) : color
c1 color
c2 color
mode BLENDMODE
return color

blue() public method

public blue ( color c ) : float
c color
return float

ceil() public method

public ceil ( float x ) : int
x float
return int

color() public method

public color ( double v1, double v2, double v3 ) : color
v1 double
v2 double
v3 double
return color

color() public method

public color ( int gray ) : color
gray int
return color

color() public method

public color ( int gray, int alpha ) : color
gray int
alpha int
return color

color() public method

public color ( int v1, int v2, int v3 ) : color
v1 int
v2 int
v3 int
return color

color() public method

public color ( int v1, int v2, int v3, int alpha ) : color
v1 int
v2 int
v3 int
alpha int
return color

colorMode() public method

public colorMode ( int mode ) : void
mode int
return void

colorMode() public method

public colorMode ( int mode, int range ) : void
mode int
range int
return void

colorMode() public method

public colorMode ( int mode, int range1, int range2, int range3 ) : void
mode int
range1 int
range2 int
range3 int
return void

colorMode() public method

public colorMode ( int mode, int range1, int range2, int range3, int range4 ) : void
mode int
range1 int
range2 int
range3 int
range4 int
return void

constrain() public method

public constrain ( float x, float minVal, float maxVal ) : float
x float
minVal float
maxVal float
return float

constrain() public method

public constrain ( int x, int minVal, int maxVal ) : int
x int
minVal int
maxVal int
return int

cos() public method

public cos ( float x ) : float
x float
return float

createImage() public method

public createImage ( int width, int height, FORMAT format ) : PImage
width int
height int
format FORMAT
return PImage

cursor() public method

public cursor ( ) : void
return void

cursor() public method

public cursor ( MODE mode ) : void
mode MODE
return void

cursor() public method

public cursor ( PImage image, int x, int y ) : void
image PImage
x int
y int
return void

degrees() static public method

static public degrees ( float x ) : float
x float
return float

delay() public method

public delay ( int milliseconds ) : void
milliseconds int
return void

dist() public method

public dist ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
return float

dist() public method

public dist ( int x1, int y1, int x2, int y2 ) : float
x1 int
y1 int
x2 int
y2 int
return float

draw() public method

public draw ( ) : void
return void

ellipse() public method

public ellipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

ellipseMode() public method

public ellipseMode ( int mode ) : void
mode int
return void

endShape() public method

public endShape ( ) : void
return void

endShape() public method

public endShape ( int mode ) : void
mode int
return void

exit() public method

public exit ( ) : void
return void

exp() public method

public exp ( float x ) : float
x float
return float

exp() public method

public exp ( int x ) : float
x int
return float

fill() public method

public fill ( color c ) : void
c color
return void

fill() public method

public fill ( color c, int alpha ) : void
c color
alpha int
return void

fill() public method

public fill ( int gray ) : void
gray int
return void

fill() public method

public fill ( int gray, int alpha ) : void
gray int
alpha int
return void

fill() public method

public fill ( int v1, int v2, int v3 ) : void
v1 int
v2 int
v3 int
return void

fill() public method

public fill ( int v1, int v2, int v3, int alpha ) : void
v1 int
v2 int
v3 int
alpha int
return void

floor() public method

public floor ( float x ) : int
x float
return int

frameRate() public method

public frameRate ( int fps ) : void
fps int
return void

green() public method

public green ( color c ) : float
c color
return float

hint() public method

public hint ( int item ) : void
item int
return void

lerp() public method

public lerp ( double value1, double value2, double amt ) : float
value1 double
value2 double
amt double
return float

lerp() public method

public lerp ( int value1, int value2, float amt ) : float
value1 int
value2 int
amt float
return float

line() public method

public line ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
return void

line() public method

public line ( float x1, float y1, float z1, float x2, float y2, float z2 ) : void
x1 float
y1 float
z1 float
x2 float
y2 float
z2 float
return void

log() public method

public log ( float x ) : float
x float
return float

log() public method

public log ( int x ) : float
x int
return float

loop() public method

public loop ( ) : void
return void

mag() public method

public mag ( float x, float y ) : float
x float
y float
return float

mag() public method

public mag ( float x, float y, float z ) : float
x float
y float
z float
return float

map() public method

public map ( float x, float low1, float high1, float low2, float high2 ) : float
x float
low1 float
high1 float
low2 float
high2 float
return float

max() public method

public max ( float xv ) : float
xv float
return float

max() public method

public max ( float x, float y ) : float
x float
y float
return float

max() public method

public max ( float x, float y, float z ) : float
x float
y float
z float
return float

min() public method

public min ( float xv ) : float
xv float
return float

min() public method

public min ( float x, float y ) : float
x float
y float
return float

min() public method

public min ( float x, float y, float z ) : float
x float
y float
z float
return float

noCursor() public method

Hides the cursor from view.
public noCursor ( ) : void
return void

noFill() public method

public noFill ( ) : void
return void

noLoop() public method

public noLoop ( ) : void
return void

noStroke() public method

public noStroke ( ) : void
return void

noise() public method

public noise ( float x ) : float
x float
return float

noise() public method

public noise ( float x, float y ) : float
x float
y float
return float

noise() public method

public noise ( float x, float y, float z ) : float
x float
y float
z float
return float

noiseDetail() public method

public noiseDetail ( int octaves ) : void
octaves int
return void

noiseDetail() public method

public noiseDetail ( int octaves, float falloff ) : void
octaves int
falloff float
return void

noiseSeed() public method

public noiseSeed ( int x ) : float
x int
return float

norm() public method

public norm ( float x, float low, float high ) : float
x float
low float
high float
return float

onsize() public method

public onsize ( int width, int height ) : void
width int
height int
return void

point() public method

public point ( float x, float y ) : void
x float
y float
return void

point() public method

public point ( float x, float y, float z ) : void
x float
y float
z float
return void

popStyle() public method

public popStyle ( ) : void
return void

pow() public method

public pow ( float num, float exponent ) : float
num float
exponent float
return float

pushStyle() public method

public pushStyle ( ) : void
return void

quad() public method

public quad ( float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4 ) : void
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
x4 float
y4 float
return void

radians() static public method

static public radians ( float x ) : float
x float
return float

random() public method

public random ( float high ) : float
high float
return float

random() public method

public random ( float low, float high ) : float
low float
high float
return float

randomSeed() public method

public randomSeed ( int seed ) : void
seed int
return void

rect() public method

public rect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
return void

rectMode() public method

public rectMode ( int mode ) : void
mode int
return void

red() public method

public red ( color c ) : float
c color
return float

redraw() public method

public redraw ( ) : void
return void

round() public method

public round ( float value ) : int
value float
return int

set() public method

public set ( int x, int y, color c ) : void
x int
y int
c color
return void

setup() public method

public setup ( ) : void
return void

sin() public method

public sin ( float x ) : float
x float
return float

size() public method

public size ( int width_, int height_ ) : void
width_ int
height_ int
return void

smooth() public method

public smooth ( ) : void
return void

sq() public method

public sq ( float x ) : float
x float
return float

sqrt() public method

public sqrt ( float x ) : float
x float
return float

stroke() public method

public stroke ( color c ) : void
c color
return void

stroke() public method

public stroke ( color c, int alpha ) : void
c color
alpha int
return void

stroke() public method

public stroke ( int gray ) : void
gray int
return void

stroke() public method

public stroke ( int gray, int alpha ) : void
gray int
alpha int
return void

stroke() public method

public stroke ( int v1, int v2, int v3 ) : void
v1 int
v2 int
v3 int
return void

stroke() public method

public stroke ( int v1, int v2, int v3, int alpha ) : void
v1 int
v2 int
v3 int
alpha int
return void

strokeCap() public method

public strokeCap ( int cap ) : void
cap int
return void

strokeJoin() public method

public strokeJoin ( int join ) : void
join int
return void

strokeWeight() public method

public strokeWeight ( double weight_ ) : void
weight_ double
return void

strokeWeight() public method

public strokeWeight ( int weight_ ) : void
weight_ int
return void

tan() public method

public tan ( float x ) : float
x float
return float

triangle() public method

public triangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void
x1 float
y1 float
x2 float
y2 float
x3 float
y3 float
return void

vertex() public method

public vertex ( double x, double y ) : void
x double
y double
return void

vertex() public method

public vertex ( double x, double y, double z ) : void
x double
y double
z double
return void

vertex() public method

public vertex ( double x, double y, double u, double v ) : void
x double
y double
u double
v double
return void

vertex() public method

public vertex ( double x, double y, double z, double u, double v ) : void
x double
y double
z double
u double
v double
return void

vertex() public method

public vertex ( int x, int y ) : void
x int
y int
return void

vertex() public method

public vertex ( int x, int y, int z ) : void
x int
y int
z int
return void

vertex() public method

public vertex ( int x, int y, int u, int v ) : void
x int
y int
u int
v int
return void

vertex() public method

public vertex ( int x, int y, int z, int u, int v ) : void
x int
y int
z int
u int
v int
return void