C# Class CrossUI.Drawing.DrawingTargetSplitter

Inheritance: IDrawingTarget
Exibir arquivo Open project: pragmatrix/CrossUI Class Usage Examples

Public Methods

Method Description
Arc ( Rectangle rectangle, double start, double stop ) : void
Bezier ( CubicBezier bezier ) : void
Dispose ( ) : void
DrawingTargetSplitter ( IDrawingBackend backend, IDrawingState state, IDrawingTransform transform, IGeometryFigures figures, IDrawingElements elements, ITextMeasurements measurements, IDrawingTargetBitmap bitmap, IReportingTarget reporting, System.Action disposer ) : System
Ellipse ( Rectangle rectangle ) : void
Fill ( System.Color color = null ) : void
Font ( string name = null, FontWeight weight = null, FontStyle style = null ) : void
Geometry ( IGeometry geometry ) : void
Line ( Point p1, Point p2 ) : void
MeasureText ( string text, double maxWidth = Double.PositiveInfinity, double maxHeight = Double.PositiveInfinity ) : TextSize
NoFill ( ) : void
NoPixelAlign ( ) : void
NoStroke ( ) : void
PixelAlign ( ) : void
Polygon ( Point points ) : void
Rectangle ( Rectangle rectangle ) : void
Report ( string text ) : void
RestoreState ( ) : void
RestoreTransform ( ) : void
Rotate ( double radians, double centerX = null, double centerY = null ) : void
RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
SaveState ( ) : void
SaveTransform ( ) : void
Scale ( double sx, double sy, double centerX = null, double centerY = null ) : void
Stroke ( System.Color color = null, double weight = null, StrokeAlignment alignment = null ) : void
Text ( double size = null, System.Color color = null, TextAlignment alignment = null, ParagraphAlignment paragraphAlignment = null, WordWrapping wordWrapping = null ) : void
Text ( string text, Rectangle rectangle ) : void
Translate ( double dx, double dy ) : void

Method Details

Arc() public method

public Arc ( Rectangle rectangle, double start, double stop ) : void
rectangle Rectangle
start double
stop double
return void

Bezier() public method

public Bezier ( CubicBezier bezier ) : void
bezier CubicBezier
return void

Dispose() public method

public Dispose ( ) : void
return void

DrawingTargetSplitter() public method

public DrawingTargetSplitter ( IDrawingBackend backend, IDrawingState state, IDrawingTransform transform, IGeometryFigures figures, IDrawingElements elements, ITextMeasurements measurements, IDrawingTargetBitmap bitmap, IReportingTarget reporting, System.Action disposer ) : System
backend IDrawingBackend
state IDrawingState
transform IDrawingTransform
figures IGeometryFigures
elements IDrawingElements
measurements ITextMeasurements
bitmap IDrawingTargetBitmap
reporting IReportingTarget
disposer System.Action
return System

Ellipse() public method

public Ellipse ( Rectangle rectangle ) : void
rectangle Rectangle
return void

Fill() public method

public Fill ( System.Color color = null ) : void
color System.Color
return void

Font() public method

public Font ( string name = null, FontWeight weight = null, FontStyle style = null ) : void
name string
weight FontWeight
style FontStyle
return void

Geometry() public method

public Geometry ( IGeometry geometry ) : void
geometry IGeometry
return void

Line() public method

public Line ( Point p1, Point p2 ) : void
p1 Point
p2 Point
return void

MeasureText() public method

public MeasureText ( string text, double maxWidth = Double.PositiveInfinity, double maxHeight = Double.PositiveInfinity ) : TextSize
text string
maxWidth double
maxHeight double
return TextSize

NoFill() public method

public NoFill ( ) : void
return void

NoPixelAlign() public method

public NoPixelAlign ( ) : void
return void

NoStroke() public method

public NoStroke ( ) : void
return void

PixelAlign() public method

public PixelAlign ( ) : void
return void

Polygon() public method

public Polygon ( Point points ) : void
points Point
return void

Rectangle() public method

public Rectangle ( Rectangle rectangle ) : void
rectangle Rectangle
return void

Report() public method

public Report ( string text ) : void
text string
return void

RestoreState() public method

public RestoreState ( ) : void
return void

RestoreTransform() public method

public RestoreTransform ( ) : void
return void

Rotate() public method

public Rotate ( double radians, double centerX = null, double centerY = null ) : void
radians double
centerX double
centerY double
return void

RoundedRectangle() public method

public RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
rectangle Rectangle
cornerRadius Size
return void

SaveState() public method

public SaveState ( ) : void
return void

SaveTransform() public method

public SaveTransform ( ) : void
return void

Scale() public method

public Scale ( double sx, double sy, double centerX = null, double centerY = null ) : void
sx double
sy double
centerX double
centerY double
return void

Stroke() public method

public Stroke ( System.Color color = null, double weight = null, StrokeAlignment alignment = null ) : void
color System.Color
weight double
alignment StrokeAlignment
return void

Text() public method

public Text ( double size = null, System.Color color = null, TextAlignment alignment = null, ParagraphAlignment paragraphAlignment = null, WordWrapping wordWrapping = null ) : void
size double
color System.Color
alignment TextAlignment
paragraphAlignment ParagraphAlignment
wordWrapping WordWrapping
return void

Text() public method

public Text ( string text, Rectangle rectangle ) : void
text string
rectangle Rectangle
return void

Translate() public method

public Translate ( double dx, double dy ) : void
dx double
dy double
return void