Click or drag to resize

CanvasDrawRectangle Method (Rectangle, AtalaPen, Size)

Draws a rounded rectangle onto this canvas specifying the border pen.

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,
	AtalaPen pen,
	Size cornerRadius
)

Parameters

rect
Type: System.DrawingRectangle
The position and size of the rectangle.
pen
Type: Atalasoft.Imaging.DrawingAtalaPen
The AtalaPen controlling the border characteristics.
cornerRadius
Type: System.DrawingSize
The radius in pixels of the corners.
See Also