CanvasDrawingSessionDrawRectangle Method (Single, Single, Single, Single, ICanvasBrush) |
Draws a rectangle of single unit stroke width, using a brush to define the color.
Namespace:
Microsoft.Graphics.Canvas
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public void DrawRectangle(
float x,
float y,
float w,
float h,
ICanvasBrush brush
)
Parameters
- x
- Type: SystemSingle
- y
- Type: SystemSingle
- w
- Type: SystemSingle
- h
- Type: SystemSingle
- brush
- Type: Microsoft.Graphics.Canvas.BrushesICanvasBrush
See Also