C# Класс Processing.PLang

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
GetPoints ( PVertex pts ) : NewTOAPIA.Graphics.Point2I[]
createGraphics ( int width, int heigh, PRenderer renderer ) : PImage

Описание методов

DrawLines() защищенный Метод

protected DrawLines ( PVertex pts ) : void
pts PVertex
Результат void

DrawPoints() защищенный Метод

protected DrawPoints ( PVertex pts ) : void
pts PVertex
Результат void

DrawQuadStrip() защищенный Метод

protected DrawQuadStrip ( PVertex pts ) : void
pts PVertex
Результат void

DrawQuads() защищенный Метод

protected DrawQuads ( PVertex pts ) : void
pts PVertex
Результат void

DrawTriangleFan() защищенный Метод

protected DrawTriangleFan ( PVertex pts ) : void
pts PVertex
Результат void

DrawTriangleStrip() защищенный Метод

protected DrawTriangleStrip ( PVertex pts ) : void
pts PVertex
Результат void

DrawTriangles() защищенный Метод

protected DrawTriangles ( PVertex pts ) : void
pts PVertex
Результат void

GetRectForMode() публичный Метод

public GetRectForMode ( float x, float y, float width, float height, int mode ) : RectangleI
x float
y float
width float
height float
mode int
Результат RectangleI

PLang() публичный Метод

public PLang ( ) : System
Результат System

PLang() публичный Метод

public PLang ( PRenderer rndr ) : System
rndr PRenderer
Результат System

ResetBrush() защищенный Метод

protected ResetBrush ( ) : void
Результат void

ResetPen() защищенный Метод

protected ResetPen ( ) : void
Результат void

SetRenderer() защищенный Метод

protected SetRenderer ( PRenderer r ) : void
r PRenderer
Результат void

abs() публичный Метод

public abs ( float x ) : float
x float
Результат float

abs() публичный Метод

public abs ( int x ) : int
x int
Результат int

acos() публичный Метод

public acos ( float v ) : float
v float
Результат float

alpha() публичный Метод

public alpha ( color c ) : float
c color
Результат float

arc() публичный Метод

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
Результат void

asin() публичный Метод

public asin ( float x ) : float
x float
Результат float

atan() публичный Метод

public atan ( float x ) : float
x float
Результат float

atan2() публичный Метод

public atan2 ( float y, float x ) : float
y float
x float
Результат float

background() публичный Метод

public background ( color c ) : void
c color
Результат void

background() публичный Метод

public background ( color c, int alpha ) : void
c color
alpha int
Результат void

background() публичный Метод

public background ( int gray ) : void
gray int
Результат void

background() публичный Метод

public background ( int gray, int alpha ) : void
gray int
alpha int
Результат void

background() публичный Метод

public background ( int v1, int v2, int v3 ) : void
v1 int
v2 int
v3 int
Результат void

background() публичный Метод

public background ( int v1, int v2, int v3, int alpha ) : void
v1 int
v2 int
v3 int
alpha int
Результат void

beginShape() публичный Метод

public beginShape ( ) : void
Результат void

beginShape() публичный Метод

public beginShape ( int mode ) : void
mode int
Результат void

bezier() публичный Метод

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
Результат void

blendColor() публичный Метод

public blendColor ( color c1, color c2, BLENDMODE mode ) : color
c1 color
c2 color
mode BLENDMODE
Результат color

blue() публичный Метод

public blue ( color c ) : float
c color
Результат float

ceil() публичный Метод

public ceil ( float x ) : int
x float
Результат int

color() публичный Метод

public color ( double v1, double v2, double v3 ) : color
v1 double
v2 double
v3 double
Результат color

color() публичный Метод

public color ( int gray ) : color
gray int
Результат color

color() публичный Метод

public color ( int gray, int alpha ) : color
gray int
alpha int
Результат color

color() публичный Метод

public color ( int v1, int v2, int v3 ) : color
v1 int
v2 int
v3 int
Результат color

color() публичный Метод

public color ( int v1, int v2, int v3, int alpha ) : color
v1 int
v2 int
v3 int
alpha int
Результат color

colorMode() публичный Метод

public colorMode ( int mode ) : void
mode int
Результат void

colorMode() публичный Метод

public colorMode ( int mode, int range ) : void
mode int
range int
Результат void

colorMode() публичный Метод

public colorMode ( int mode, int range1, int range2, int range3 ) : void
mode int
range1 int
range2 int
range3 int
Результат void

colorMode() публичный Метод

public colorMode ( int mode, int range1, int range2, int range3, int range4 ) : void
mode int
range1 int
range2 int
range3 int
range4 int
Результат void

constrain() публичный Метод

public constrain ( float x, float minVal, float maxVal ) : float
x float
minVal float
maxVal float
Результат float

constrain() публичный Метод

public constrain ( int x, int minVal, int maxVal ) : int
x int
minVal int
maxVal int
Результат int

cos() публичный Метод

public cos ( float x ) : float
x float
Результат float

createImage() публичный Метод

public createImage ( int width, int height, FORMAT format ) : PImage
width int
height int
format FORMAT
Результат PImage

cursor() публичный Метод

public cursor ( ) : void
Результат void

cursor() публичный Метод

public cursor ( MODE mode ) : void
mode MODE
Результат void

cursor() публичный Метод

public cursor ( PImage image, int x, int y ) : void
image PImage
x int
y int
Результат void

degrees() статический публичный Метод

static public degrees ( float x ) : float
x float
Результат float

delay() публичный Метод

public delay ( int milliseconds ) : void
milliseconds int
Результат void

dist() публичный Метод

public dist ( float x1, float y1, float x2, float y2 ) : float
x1 float
y1 float
x2 float
y2 float
Результат float

dist() публичный Метод

public dist ( int x1, int y1, int x2, int y2 ) : float
x1 int
y1 int
x2 int
y2 int
Результат float

draw() публичный Метод

public draw ( ) : void
Результат void

ellipse() публичный Метод

public ellipse ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

ellipseMode() публичный Метод

public ellipseMode ( int mode ) : void
mode int
Результат void

endShape() публичный Метод

public endShape ( ) : void
Результат void

endShape() публичный Метод

public endShape ( int mode ) : void
mode int
Результат void

exit() публичный Метод

public exit ( ) : void
Результат void

exp() публичный Метод

public exp ( float x ) : float
x float
Результат float

exp() публичный Метод

public exp ( int x ) : float
x int
Результат float

fill() публичный Метод

public fill ( color c ) : void
c color
Результат void

fill() публичный Метод

public fill ( color c, int alpha ) : void
c color
alpha int
Результат void

fill() публичный Метод

public fill ( int gray ) : void
gray int
Результат void

fill() публичный Метод

public fill ( int gray, int alpha ) : void
gray int
alpha int
Результат void

fill() публичный Метод

public fill ( int v1, int v2, int v3 ) : void
v1 int
v2 int
v3 int
Результат void

fill() публичный Метод

public fill ( int v1, int v2, int v3, int alpha ) : void
v1 int
v2 int
v3 int
alpha int
Результат void

floor() публичный Метод

public floor ( float x ) : int
x float
Результат int

frameRate() публичный Метод

public frameRate ( int fps ) : void
fps int
Результат void

green() публичный Метод

public green ( color c ) : float
c color
Результат float

hint() публичный Метод

public hint ( int item ) : void
item int
Результат void

lerp() публичный Метод

public lerp ( double value1, double value2, double amt ) : float
value1 double
value2 double
amt double
Результат float

lerp() публичный Метод

public lerp ( int value1, int value2, float amt ) : float
value1 int
value2 int
amt float
Результат float

line() публичный Метод

public line ( float x1, float y1, float x2, float y2 ) : void
x1 float
y1 float
x2 float
y2 float
Результат void

line() публичный Метод

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
Результат void

log() публичный Метод

public log ( float x ) : float
x float
Результат float

log() публичный Метод

public log ( int x ) : float
x int
Результат float

loop() публичный Метод

public loop ( ) : void
Результат void

mag() публичный Метод

public mag ( float x, float y ) : float
x float
y float
Результат float

mag() публичный Метод

public mag ( float x, float y, float z ) : float
x float
y float
z float
Результат float

map() публичный Метод

public map ( float x, float low1, float high1, float low2, float high2 ) : float
x float
low1 float
high1 float
low2 float
high2 float
Результат float

max() публичный Метод

public max ( float xv ) : float
xv float
Результат float

max() публичный Метод

public max ( float x, float y ) : float
x float
y float
Результат float

max() публичный Метод

public max ( float x, float y, float z ) : float
x float
y float
z float
Результат float

min() публичный Метод

public min ( float xv ) : float
xv float
Результат float

min() публичный Метод

public min ( float x, float y ) : float
x float
y float
Результат float

min() публичный Метод

public min ( float x, float y, float z ) : float
x float
y float
z float
Результат float

noCursor() публичный Метод

Hides the cursor from view.
public noCursor ( ) : void
Результат void

noFill() публичный Метод

public noFill ( ) : void
Результат void

noLoop() публичный Метод

public noLoop ( ) : void
Результат void

noStroke() публичный Метод

public noStroke ( ) : void
Результат void

noise() публичный Метод

public noise ( float x ) : float
x float
Результат float

noise() публичный Метод

public noise ( float x, float y ) : float
x float
y float
Результат float

noise() публичный Метод

public noise ( float x, float y, float z ) : float
x float
y float
z float
Результат float

noiseDetail() публичный Метод

public noiseDetail ( int octaves ) : void
octaves int
Результат void

noiseDetail() публичный Метод

public noiseDetail ( int octaves, float falloff ) : void
octaves int
falloff float
Результат void

noiseSeed() публичный Метод

public noiseSeed ( int x ) : float
x int
Результат float

norm() публичный Метод

public norm ( float x, float low, float high ) : float
x float
low float
high float
Результат float

onsize() публичный Метод

public onsize ( int width, int height ) : void
width int
height int
Результат void

point() публичный Метод

public point ( float x, float y ) : void
x float
y float
Результат void

point() публичный Метод

public point ( float x, float y, float z ) : void
x float
y float
z float
Результат void

popStyle() публичный Метод

public popStyle ( ) : void
Результат void

pow() публичный Метод

public pow ( float num, float exponent ) : float
num float
exponent float
Результат float

pushStyle() публичный Метод

public pushStyle ( ) : void
Результат void

quad() публичный Метод

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
Результат void

radians() статический публичный Метод

static public radians ( float x ) : float
x float
Результат float

random() публичный Метод

public random ( float high ) : float
high float
Результат float

random() публичный Метод

public random ( float low, float high ) : float
low float
high float
Результат float

randomSeed() публичный Метод

public randomSeed ( int seed ) : void
seed int
Результат void

rect() публичный Метод

public rect ( float x, float y, float width, float height ) : void
x float
y float
width float
height float
Результат void

rectMode() публичный Метод

public rectMode ( int mode ) : void
mode int
Результат void

red() публичный Метод

public red ( color c ) : float
c color
Результат float

redraw() публичный Метод

public redraw ( ) : void
Результат void

round() публичный Метод

public round ( float value ) : int
value float
Результат int

set() публичный Метод

public set ( int x, int y, color c ) : void
x int
y int
c color
Результат void

setup() публичный Метод

public setup ( ) : void
Результат void

sin() публичный Метод

public sin ( float x ) : float
x float
Результат float

size() публичный Метод

public size ( int width_, int height_ ) : void
width_ int
height_ int
Результат void

smooth() публичный Метод

public smooth ( ) : void
Результат void

sq() публичный Метод

public sq ( float x ) : float
x float
Результат float

sqrt() публичный Метод

public sqrt ( float x ) : float
x float
Результат float

stroke() публичный Метод

public stroke ( color c ) : void
c color
Результат void

stroke() публичный Метод

public stroke ( color c, int alpha ) : void
c color
alpha int
Результат void

stroke() публичный Метод

public stroke ( int gray ) : void
gray int
Результат void

stroke() публичный Метод

public stroke ( int gray, int alpha ) : void
gray int
alpha int
Результат void

stroke() публичный Метод

public stroke ( int v1, int v2, int v3 ) : void
v1 int
v2 int
v3 int
Результат void

stroke() публичный Метод

public stroke ( int v1, int v2, int v3, int alpha ) : void
v1 int
v2 int
v3 int
alpha int
Результат void

strokeCap() публичный Метод

public strokeCap ( int cap ) : void
cap int
Результат void

strokeJoin() публичный Метод

public strokeJoin ( int join ) : void
join int
Результат void

strokeWeight() публичный Метод

public strokeWeight ( double weight_ ) : void
weight_ double
Результат void

strokeWeight() публичный Метод

public strokeWeight ( int weight_ ) : void
weight_ int
Результат void

tan() публичный Метод

public tan ( float x ) : float
x float
Результат float

triangle() публичный Метод

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
Результат void

vertex() публичный Метод

public vertex ( double x, double y ) : void
x double
y double
Результат void

vertex() публичный Метод

public vertex ( double x, double y, double z ) : void
x double
y double
z double
Результат void

vertex() публичный Метод

public vertex ( double x, double y, double u, double v ) : void
x double
y double
u double
v double
Результат void

vertex() публичный Метод

public vertex ( double x, double y, double z, double u, double v ) : void
x double
y double
z double
u double
v double
Результат void

vertex() публичный Метод

public vertex ( int x, int y ) : void
x int
y int
Результат void

vertex() публичный Метод

public vertex ( int x, int y, int z ) : void
x int
y int
z int
Результат void

vertex() публичный Метод

public vertex ( int x, int y, int u, int v ) : void
x int
y int
u int
v int
Результат void

vertex() публичный Метод

public vertex ( int x, int y, int z, int u, int v ) : void
x int
y int
z int
u int
v int
Результат void