C# Class CrossUI.Drawing.DrawingTargetRecorder

Inheritance: IDrawingTarget
Afficher le fichier Open project: pragmatrix/CrossUI

Méthodes publiques

Méthode 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

Méthode Description
record ( Action action ) : void

Method Details

Arc() public méthode

public Arc ( Rectangle rectangle, double start, double stop ) : void
rectangle Rectangle
start double
stop double
Résultat void

Bezier() public méthode

public Bezier ( CubicBezier bezier ) : void
bezier CubicBezier
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

DrawingTargetRecorder() public méthode

public DrawingTargetRecorder ( int width, int height, ITextMeasurements textMeasurements ) : System
width int
height int
textMeasurements ITextMeasurements
Résultat System

Ellipse() public méthode

public Ellipse ( Rectangle rectangle ) : void
rectangle Rectangle
Résultat void

Fill() public méthode

public Fill ( System.Color color ) : void
color System.Color
Résultat void

Font() public méthode

public Font ( string name, FontWeight weight, FontStyle style ) : void
name string
weight FontWeight
style FontStyle
Résultat void

Geometry() public méthode

public Geometry ( IGeometry geometry ) : void
geometry IGeometry
Résultat void

Line() public méthode

public Line ( Point p1, Point p2 ) : void
p1 Point
p2 Point
Résultat void

MeasureText() public méthode

public MeasureText ( string text, double maxWidth, double maxHeight ) : TextSize
text string
maxWidth double
maxHeight double
Résultat TextSize

NoFill() public méthode

public NoFill ( ) : void
Résultat void

NoPixelAlign() public méthode

public NoPixelAlign ( ) : void
Résultat void

NoStroke() public méthode

public NoStroke ( ) : void
Résultat void

PixelAlign() public méthode

public PixelAlign ( ) : void
Résultat void

Polygon() public méthode

public Polygon ( Point points ) : void
points Point
Résultat void

Rectangle() public méthode

public Rectangle ( Rectangle rectangle ) : void
rectangle Rectangle
Résultat void

Report() public méthode

public Report ( string text ) : void
text string
Résultat void

RestoreState() public méthode

public RestoreState ( ) : void
Résultat void

RestoreTransform() public méthode

public RestoreTransform ( ) : void
Résultat void

Rotate() public méthode

public Rotate ( double radians, double centerX, double centerY ) : void
radians double
centerX double
centerY double
Résultat void

RoundedRectangle() public méthode

public RoundedRectangle ( Rectangle rectangle, Size cornerRadius ) : void
rectangle Rectangle
cornerRadius Size
Résultat void

SaveState() public méthode

public SaveState ( ) : void
Résultat void

SaveTransform() public méthode

public SaveTransform ( ) : void
Résultat void

Scale() public méthode

public Scale ( double sx, double sy, double centerX, double centerY ) : void
sx double
sy double
centerX double
centerY double
Résultat void

Stroke() public méthode

public Stroke ( System.Color color, double weight, StrokeAlignment alignment ) : void
color System.Color
weight double
alignment StrokeAlignment
Résultat void

Text() public méthode

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
Résultat void

Text() public méthode

public Text ( string text, Rectangle rectangle ) : void
text string
rectangle Rectangle
Résultat void

Translate() public méthode

public Translate ( double dx, double dy ) : void
dx double
dy double
Résultat void

replay() public méthode

public replay ( IDrawingTarget target ) : void
target IDrawingTarget
Résultat void