[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.PaintPie

PaintPie Method

PaintPie(Rectangle, Point, Point)

Paints a pie-shaped wedge bounded by the intersection of an ellipse and two radials. The pie is outlined by using the current pen and filled by using the current brush.

Declaration
public virtual void PaintPie(Rectangle rectangle, Point firstRadial, Point secondRadial)
Parameters
Type Name Description
Rectangle rectangle

A Rectangle indicates the bounds of the ellipse.

Point firstRadial

A Point indicates the endpoint of the first radial.

Point secondRadial

A Point indicates the endpoint of the second radial.

Remarks

The curve of the pie is defined by an ellipse that fits the specified bounding rectangle. The curve begins at the point where the ellipse intersects the first radial and extends counterclockwise to the point where the ellipse intersects the second radial.

Exceptions
Type Condition
SystemErrorException