CanvasDrawRectangle Method (Rectangle, Fill, Size) |
Draws a rounded rectangle onto this canvas specifying the fill.
Namespace:
Atalasoft.Imaging.Drawing
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void DrawRectangle(
Rectangle rect,
Fill fill,
Size cornerRadius
)
Public Sub DrawRectangle (
rect As Rectangle,
fill As Fill,
cornerRadius As Size
)
Parameters
- rect
- Type: System.DrawingRectangle
The position and size of the rectangle. - fill
- Type: Atalasoft.Imaging.DrawingFill
The Fill specifying the fill characteristics. - cornerRadius
- Type: System.DrawingSize
The radius in pixels of the corners.
See Also