C# Class Processing.PRenderer

显示文件 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
Arc ( float x, float y, float width, float height, float startRadians, float endRadians ) : void
Bezier ( int x1, int y1, int cx1, int cy1, int cx2, int cy2, int x2, int y2 ) : void
ClearToColor ( color c ) : void
Ellipse ( int left, int top, int right, int bottom ) : void
Line ( float x1, float y1, float x2, float y2 ) : void
PolyLine ( Point2I pts ) : void
Polygon ( Point2I pts ) : void
Rectangle ( float x, float y, float width, float height ) : void
Resize ( int w, int h ) : void
SetBrush ( IBrush brush ) : void
SetPen ( IPen pen ) : void
SetPixel ( float x, float y, color c ) : void
StrokeAndFillTriangle ( float x1, float y1, float x2, float y2, float x3, float y3 ) : void

Method Details

Arc() public abstract method

public abstract Arc ( float x, float y, float width, float height, float startRadians, float endRadians ) : void
x float
y float
width float
height float
startRadians float
endRadians float
return void

Bezier() public abstract method

public abstract 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

ClearToColor() public abstract method

public abstract ClearToColor ( color c ) : void
c color
return void

Ellipse() public abstract method

public abstract Ellipse ( int left, int top, int right, int bottom ) : void
left int
top int
right int
bottom int
return void

Line() public abstract method

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

PolyLine() public abstract method

public abstract PolyLine ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
return void

Polygon() public abstract method

public abstract Polygon ( Point2I pts ) : void
pts NewTOAPIA.Graphics.Point2I
return void

Rectangle() public abstract method

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

Resize() public abstract method

public abstract Resize ( int w, int h ) : void
w int
h int
return void

SetBrush() public abstract method

public abstract SetBrush ( IBrush brush ) : void
brush IBrush
return void

SetPen() public abstract method

public abstract SetPen ( IPen pen ) : void
pen IPen
return void

SetPixel() public abstract method

public abstract SetPixel ( float x, float y, color c ) : void
x float
y float
c color
return void

StrokeAndFillTriangle() public abstract method

public abstract StrokeAndFillTriangle ( 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