[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Region.CreatePieRegion

CreatePieRegion Method

CreatePieRegion(Rectangle, float, float)

Create a pie region.

Declaration
public static Region CreatePieRegion(Rectangle rectangle, float startAngle, float sweepAngle)
Public Shared Function CreatePieRegion(rectangle As Rectangle, startAngle As Single, sweepAngle As Single) As Region
Parameters
Type Name Description
Rectangle rectangle

A Rectangle structure that defines the boundaries of the pie.

float startAngle

A float value that defines the start angle of the pie.

float sweepAngle

A float value that defines the sweep angle of the pie.

Returns
Type Description
Region

A Region indicates the pie region.