C# Class CrossUI.Drawing.DrawingTargetRecorder

Inheritance: IDrawingTarget
Datei anzeigen Open project: pragmatrix/CrossUI

Public Methods

Method Description
Arc ( Rectangle rectangle, double start, double stop ) : void
Bezier ( CubicBezier bezier ) : void
Dispose ( ) : void
DrawingTargetRecorder ( int width, int height, ITextMeasurements textMeasurements ) : System
Ellipse ( Rectangle rectangle ) : void
Fill ( System.Color color ) : void
Font ( string name, FontWeight weight, FontStyle style ) : void
Geometry ( IGeometry geometry ) : void
Line ( Point p1, Point p2 ) : void
MeasureText ( string text, double maxWidth, double maxHeight ) : 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, double centerY ) : void
RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
SaveState ( ) : void
SaveTransform ( ) : void
Scale ( double sx, double sy, double centerX, double centerY ) : void
Stroke ( System.Color color, double weight, StrokeAlignment alignment ) : void
Text ( double size, System.Color color, TextAlignment alignment, ParagraphAlignment paragraphAlignment, WordWrapping wordWrapping ) : void
Text ( string text, Rectangle rectangle ) : void
Translate ( double dx, double dy ) : void
replay ( IDrawingTarget target ) : void

Private Methods

Method Description
record ( Action action ) : 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

DrawingTargetRecorder() public method

public DrawingTargetRecorder ( int width, int height, ITextMeasurements textMeasurements ) : System
width int
height int
textMeasurements ITextMeasurements
return System

Ellipse() public method

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

Fill() public method

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

Font() public method

public Font ( string name, FontWeight weight, FontStyle style ) : 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 maxHeight ) : 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, double centerY ) : 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, double centerY ) : void
sx double
sy double
centerX double
centerY double
return void

Stroke() public method

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

Text() public method

public Text ( double size, System.Color color, TextAlignment alignment, ParagraphAlignment paragraphAlignment, WordWrapping wordWrapping ) : 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

replay() public method

public replay ( IDrawingTarget target ) : void
target IDrawingTarget
return void