Method | Description | |
---|---|---|
Begin ( Canvas target, Retention retention = Retention.ClearData ) : void | ||
Clear ( ) : void | ||
Clear ( Rectangle region ) : void | ||
Clear ( float x, float y, float width, float height ) : void | ||
End ( ) : void | ||
Fill ( Shape shape ) : void | ||
FillRectangle ( Rectangle rectangleRegion ) : void | ||
FillRectangle ( Rectangle rectangleRegion, Size roundedRadius ) : void | ||
FillRectangle ( float rectangleX, float rectangleY, float rectangleWidth, float rectangleHeight, float roundedRadiusWidth = 0.0f, float roundedRadiusHeight = 0.0f ) : void | ||
ResetState ( ) : void | ||
RestoreState ( ) : void | ||
Rotate ( float angle ) : void | ||
Rotate ( float angle, Point origin ) : void | ||
Rotate ( float angle, float originX, float originY ) : void | ||
SaveState ( ) : void | ||
Scale ( Size size ) : void | ||
Scale ( float width, float height ) : void | ||
Scale ( float width, float height, float originX, float originY ) : void | ||
SetBrush ( Canvas source, Repetition extension ) : void | ||
SetBrush ( Color color ) : void | ||
SetBrush ( Point linearGradientStart, Point linearGradientEnd, Gradient gradient ) : void | ||
SetBrush ( Point radialGradientCenter, Size radialGradientOffset, Size radialGradientRadius, Gradient gradient ) : void | ||
SetBrush ( float linearGradientStartX, float linearGradientStartY, float linearGradientEndX, float linearGradientEndY, Gradient gradient ) : void | ||
SetBrush ( float radialGradientCenterX, float radialGradientCenterY, float radialGradientOffsetWidth, float radialGradientOffsetHeight, float radialGradientRadiusWidth, float radialGradientRadiusHeight, Gradient gradient ) : void | ||
Skew ( float angleX, float angleY ) : void | ||
Stroke ( Shape shape ) : void | ||
StrokeLine ( Point lineStart, Point lineEnd ) : void | ||
StrokeLine ( float lineStartX, float lineStartY, float lineEndX, float lineEndY ) : void | ||
StrokeRectangle ( Rectangle rectangleRegion ) : void | ||
StrokeRectangle ( Rectangle rectangleRegion, Size roundedRadius ) : void | ||
StrokeRectangle ( float rectangleX, float rectangleY, float rectangleWidth, float rectangleHeight, float roundedRadiusWidth = 0.0f, float roundedRadiusHeight = 0.0f ) : void | ||
Transform ( Matrix3X2 &transformation ) : void | ||
Translate ( Size value ) : void | ||
Translate ( float width, float height ) : void |
Method | Description | |
---|---|---|
OnBegin ( Canvas target, Retention retention ) : void | ||
OnClear ( ) : void | ||
OnClear ( Rectangle ®ion ) : void | ||
OnEnd ( ) : void | ||
OnFill ( Shape shape ) : void | ||
OnFillRectangle ( Rectangle &rectangleRegion ) : void | ||
OnFillRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void | ||
OnResetState ( ) : void | ||
OnRestoreState ( ) : void | ||
OnSaveState ( ) : void | ||
OnSetBrush ( Canvas source, Repetition extension ) : void | ||
OnSetBrush ( Color color ) : void | ||
OnSetBrush ( Point &linearGradientStart, Point &linearGradientEnd, Gradient gradient ) : void | ||
OnSetBrush ( Point &radialGradientCenter, Size &radialGradientOffset, Size &radialGradientRadius, Gradient gradient ) : void | ||
OnStroke ( Shape shape ) : void | ||
OnStrokeLine ( Point &lineStart, Point &lineEnd ) : void | ||
OnStrokeRectangle ( Rectangle &rectangleRegion ) : void | ||
OnStrokeRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void | ||
Painter ( Device2D device2D ) : System.Diagnostics.Contracts |
public Begin ( Canvas target, Retention retention = Retention.ClearData ) : void | ||
target | Canvas | |
retention | Retention | |
return | void |
public Clear ( float x, float y, float width, float height ) : void | ||
x | float | |
y | float | |
width | float | |
height | float | |
return | void |
public FillRectangle ( Rectangle rectangleRegion ) : void | ||
rectangleRegion | Rectangle | |
return | void |
public FillRectangle ( Rectangle rectangleRegion, Size roundedRadius ) : void | ||
rectangleRegion | Rectangle | |
roundedRadius | Size | |
return | void |
public FillRectangle ( float rectangleX, float rectangleY, float rectangleWidth, float rectangleHeight, float roundedRadiusWidth = 0.0f, float roundedRadiusHeight = 0.0f ) : void | ||
rectangleX | float | |
rectangleY | float | |
rectangleWidth | float | |
rectangleHeight | float | |
roundedRadiusWidth | float | |
roundedRadiusHeight | float | |
return | void |
protected abstract OnBegin ( Canvas target, Retention retention ) : void | ||
target | Canvas | |
retention | Retention | |
return | void |
protected abstract OnClear ( Rectangle ®ion ) : void | ||
region | Rectangle | |
return | void |
protected abstract OnFill ( Shape shape ) : void | ||
shape | Shape | |
return | void |
protected abstract OnFillRectangle ( Rectangle &rectangleRegion ) : void | ||
rectangleRegion | Rectangle | |
return | void |
protected abstract OnFillRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void | ||
rectangleRegion | Rectangle | |
roundedRadius | Size | |
return | void |
protected abstract OnSetBrush ( Canvas source, Repetition extension ) : void | ||
source | Canvas | |
extension | Repetition | |
return | void |
protected abstract OnSetBrush ( Color color ) : void | ||
color | Color | |
return | void |
protected abstract OnSetBrush ( Point &linearGradientStart, Point &linearGradientEnd, Gradient gradient ) : void | ||
linearGradientStart | Point | |
linearGradientEnd | Point | |
gradient | Gradient | |
return | void |
protected abstract OnSetBrush ( Point &radialGradientCenter, Size &radialGradientOffset, Size &radialGradientRadius, Gradient gradient ) : void | ||
radialGradientCenter | Point | |
radialGradientOffset | Size | |
radialGradientRadius | Size | |
gradient | Gradient | |
return | void |
protected abstract OnStroke ( Shape shape ) : void | ||
shape | Shape | |
return | void |
protected abstract OnStrokeLine ( Point &lineStart, Point &lineEnd ) : void | ||
lineStart | Point | |
lineEnd | Point | |
return | void |
protected abstract OnStrokeRectangle ( Rectangle &rectangleRegion ) : void | ||
rectangleRegion | Rectangle | |
return | void |
protected abstract OnStrokeRectangle ( Rectangle &rectangleRegion, Size &roundedRadius ) : void | ||
rectangleRegion | Rectangle | |
roundedRadius | Size | |
return | void |
protected Painter ( Device2D device2D ) : System.Diagnostics.Contracts | ||
device2D | Device2D | |
return | System.Diagnostics.Contracts |
public Rotate ( float angle, Point origin ) : void | ||
angle | float | |
origin | Point | |
return | void |
public Rotate ( float angle, float originX, float originY ) : void | ||
angle | float | |
originX | float | |
originY | float | |
return | void |
public Scale ( float width, float height ) : void | ||
width | float | |
height | float | |
return | void |
public Scale ( float width, float height, float originX, float originY ) : void | ||
width | float | |
height | float | |
originX | float | |
originY | float | |
return | void |
public SetBrush ( Canvas source, Repetition extension ) : void | ||
source | Canvas | |
extension | Repetition | |
return | void |
public SetBrush ( Point linearGradientStart, Point linearGradientEnd, Gradient gradient ) : void | ||
linearGradientStart | Point | |
linearGradientEnd | Point | |
gradient | Gradient | |
return | void |
public SetBrush ( Point radialGradientCenter, Size radialGradientOffset, Size radialGradientRadius, Gradient gradient ) : void | ||
radialGradientCenter | Point | |
radialGradientOffset | Size | |
radialGradientRadius | Size | |
gradient | Gradient | |
return | void |
public SetBrush ( float linearGradientStartX, float linearGradientStartY, float linearGradientEndX, float linearGradientEndY, Gradient gradient ) : void | ||
linearGradientStartX | float | |
linearGradientStartY | float | |
linearGradientEndX | float | |
linearGradientEndY | float | |
gradient | Gradient | |
return | void |
public SetBrush ( float radialGradientCenterX, float radialGradientCenterY, float radialGradientOffsetWidth, float radialGradientOffsetHeight, float radialGradientRadiusWidth, float radialGradientRadiusHeight, Gradient gradient ) : void | ||
radialGradientCenterX | float | |
radialGradientCenterY | float | |
radialGradientOffsetWidth | float | |
radialGradientOffsetHeight | float | |
radialGradientRadiusWidth | float | |
radialGradientRadiusHeight | float | |
gradient | Gradient | |
return | void |
public Skew ( float angleX, float angleY ) : void | ||
angleX | float | |
angleY | float | |
return | void |
public StrokeLine ( Point lineStart, Point lineEnd ) : void | ||
lineStart | Point | |
lineEnd | Point | |
return | void |
public StrokeLine ( float lineStartX, float lineStartY, float lineEndX, float lineEndY ) : void | ||
lineStartX | float | |
lineStartY | float | |
lineEndX | float | |
lineEndY | float | |
return | void |
public StrokeRectangle ( Rectangle rectangleRegion ) : void | ||
rectangleRegion | Rectangle | |
return | void |
public StrokeRectangle ( Rectangle rectangleRegion, Size roundedRadius ) : void | ||
rectangleRegion | Rectangle | |
roundedRadius | Size | |
return | void |
public StrokeRectangle ( float rectangleX, float rectangleY, float rectangleWidth, float rectangleHeight, float roundedRadiusWidth = 0.0f, float roundedRadiusHeight = 0.0f ) : void | ||
rectangleX | float | |
rectangleY | float | |
rectangleWidth | float | |
rectangleHeight | float | |
roundedRadiusWidth | float | |
roundedRadiusHeight | float | |
return | void |
public Transform ( Matrix3X2 &transformation ) : void | ||
transformation | Matrix3X2 | |
return | void |
public Translate ( float width, float height ) : void | ||
width | float | |
height | float | |
return | void |