Click or drag to resize

GraphicsPathGetRoundRect Method (RectangleF, Single)

Creates a rounded rectangle using the specified corner radius

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static IGraphicsPath GetRoundRect(
	RectangleF rectangle,
	float radius
)

Parameters

rectangle
Type: Eto.DrawingRectangleF
Rectangle to round
radius
Type: SystemSingle
Radius for all corners

Return Value

Type: IGraphicsPath
The round rect.

Return Value

Type: IGraphicsPath
GraphicsPath with the lines of the rounded rectangle ready to be painted
See Also