Click or drag to resize

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.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public void DrawRectangle(
	Rectangle rect,
	Fill fill,
	Size cornerRadius
)

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