CanvasDrawingSession.DrawRoundedRectangle Method (Single, Single, Single, Single, Single, Single, ICanvasBrush, Single) |
Draws a rounded rectangle of the specified 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
Syntaxpublic void DrawRoundedRectangle(
float x,
float y,
float w,
float h,
float radiusX,
float radiusY,
ICanvasBrush brush,
float strokeWidth
)
Parameters
- x
- Type: System.Single
- y
- Type: System.Single
- w
- Type: System.Single
- h
- Type: System.Single
- radiusX
- Type: System.Single
- radiusY
- Type: System.Single
- brush
- Type: Microsoft.Graphics.Canvas.Brushes.ICanvasBrush
- strokeWidth
- Type: System.Single
See Also