CanvasDrawingSessionDrawRectangle Method (Single, Single, Single, Single, Color, Single) |
Draws a rectangle of the specified stroke width and 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,
Color color,
float strokeWidth
)
Parameters
- x
- Type: SystemSingle
- y
- Type: SystemSingle
- w
- Type: SystemSingle
- h
- Type: SystemSingle
- color
- Type: Windows.UIColor
- strokeWidth
- Type: SystemSingle
See Also