C# Class System.Drawing.Drawing2D.PathGradientBrush

Inheritance: System.Drawing.Brush
ファイルを表示 Open project: mono/sysdrawing-coregraphics Class Usage Examples

Public Methods

Method Description
Clone ( ) : object
MultiplyTransform ( Matrix matrix ) : void
MultiplyTransform ( Matrix matrix, MatrixOrder order ) : void
PathGradientBrush ( GraphicsPath path ) : AppKit
PathGradientBrush ( Point points ) : AppKit
PathGradientBrush ( Point points, WrapMode wrapMode ) : AppKit
PathGradientBrush ( PointF points ) : AppKit
PathGradientBrush ( PointF points, WrapMode wrapMode ) : AppKit
ResetTransform ( ) : void
RotateTransform ( float angle ) : void
RotateTransform ( float angle, MatrixOrder order ) : void
ScaleTransform ( float sx, float sy ) : void
ScaleTransform ( float sx, float sy, MatrixOrder order ) : void
SetBlendTriangularShape ( float focus ) : void
SetBlendTriangularShape ( float focus, float scale ) : void
SetSigmaBellShape ( float focus ) : void
SetSigmaBellShape ( float focus, float scale ) : void
TranslateTransform ( float dx, float dy ) : void
TranslateTransform ( float dx, float dy, MatrixOrder order ) : void

Private Methods

Method Description
GradientLerp3 ( float alpha, float beta, float gamma ) : void
RasterizePolygon ( CGContext context, PointF center, PointF pathPoints, Color surroundColors, Color centerColor ) : void
RasterizeTriangle ( CGContext context, PointF vt1, PointF vt2, PointF vt3, Color colorV1, Color colorV2, Color colorV3 ) : void

Rasterizes the triangle specified by the vector / points and their associated colors using barycentric coordinates.

RenderPixels ( CGContext context, int x, int y, System.Edge edge32, System.Edge edge13, System.Edge edge21, int w1, int w2, int w3 ) : void
Setup ( Graphics graphics, bool fill ) : void

Method Details

Clone() public method

public Clone ( ) : object
return object

MultiplyTransform() public method

public MultiplyTransform ( Matrix matrix ) : void
matrix Matrix
return void

MultiplyTransform() public method

public MultiplyTransform ( Matrix matrix, MatrixOrder order ) : void
matrix Matrix
order MatrixOrder
return void

PathGradientBrush() public method

public PathGradientBrush ( GraphicsPath path ) : AppKit
path GraphicsPath
return AppKit

PathGradientBrush() public method

public PathGradientBrush ( Point points ) : AppKit
points Point
return AppKit

PathGradientBrush() public method

public PathGradientBrush ( Point points, WrapMode wrapMode ) : AppKit
points Point
wrapMode WrapMode
return AppKit

PathGradientBrush() public method

public PathGradientBrush ( PointF points ) : AppKit
points System.Drawing.PointF
return AppKit

PathGradientBrush() public method

public PathGradientBrush ( PointF points, WrapMode wrapMode ) : AppKit
points System.Drawing.PointF
wrapMode WrapMode
return AppKit

ResetTransform() public method

public ResetTransform ( ) : void
return void

RotateTransform() public method

public RotateTransform ( float angle ) : void
angle float
return void

RotateTransform() public method

public RotateTransform ( float angle, MatrixOrder order ) : void
angle float
order MatrixOrder
return void

ScaleTransform() public method

public ScaleTransform ( float sx, float sy ) : void
sx float
sy float
return void

ScaleTransform() public method

public ScaleTransform ( float sx, float sy, MatrixOrder order ) : void
sx float
sy float
order MatrixOrder
return void

SetBlendTriangularShape() public method

public SetBlendTriangularShape ( float focus ) : void
focus float
return void

SetBlendTriangularShape() public method

public SetBlendTriangularShape ( float focus, float scale ) : void
focus float
scale float
return void

SetSigmaBellShape() public method

public SetSigmaBellShape ( float focus ) : void
focus float
return void

SetSigmaBellShape() public method

public SetSigmaBellShape ( float focus, float scale ) : void
focus float
scale float
return void

TranslateTransform() public method

public TranslateTransform ( float dx, float dy ) : void
dx float
dy float
return void

TranslateTransform() public method

public TranslateTransform ( float dx, float dy, MatrixOrder order ) : void
dx float
dy float
order MatrixOrder
return void