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
)
Public Shared Function GetRoundRect (
rectangle As RectangleF,
radius As Single
) As IGraphicsPath
static member GetRoundRect :
rectangle : RectangleF *
radius : float32 -> IGraphicsPath
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to round - radius
- Type: SystemSingle
Radius for all corners
Return Value
Type:
IGraphicsPathThe round rect.
Return Value
Type:
IGraphicsPathGraphicsPath with the lines of the rounded rectangle ready to be painted
See Also