C# Class CrossUI.Drawing.DrawingState

Inheritance: IDrawingState
Show file Open project: pragmatrix/CrossUI Class Usage Examples

Public Methods

Method Description
Clone ( ) : DrawingState
Copy ( DrawingState @from, DrawingState to ) : void
DrawingState ( ) : System
Fill ( System.Color color ) : void
Font ( string name, FontWeight weight, FontStyle style ) : void
NoFill ( ) : void
NoPixelAlign ( ) : void
NoStroke ( ) : void
PixelAlign ( ) : void
RestoreState ( ) : void
SaveState ( ) : void
Stroke ( System.Color color, double weight, StrokeAlignment alignment ) : void
Text ( double size, System.Color color, TextAlignment alignment, ParagraphAlignment paragraphAlignment, WordWrapping wordWrapping ) : void

Method Details

Clone() public method

public Clone ( ) : DrawingState
return DrawingState

Copy() public static method

public static Copy ( DrawingState @from, DrawingState to ) : void
@from DrawingState
to DrawingState
return void

DrawingState() public method

public DrawingState ( ) : System
return System

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

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

RestoreState() public method

public RestoreState ( ) : void
return void

SaveState() public method

public SaveState ( ) : void
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