Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: GraphicsPath RoundedRectangle(RectangleF, float, bool)

Declaration

public static GraphicsPath RoundedRectangle(
    RectangleF rectangle,
    float radius,
    bool tolerant = false
)

Summary

Returns a GraphicsPath object that represents a rounded rectangle.

Parameters

RectangleFrectangle Position of the rectangle.
floatradius Radius of the rounding of each corner of the rectangle.
booltolerant If true, the radius is reduced if it is too large to fit into the specified size. Otherwise, an exception is thrown.