[]
        
(Showing Draft Content)

C1.C1Preview.RenderPie

RenderPie Class

Represents a pie shape (a closed shape consisting of an arc of an ellipse, with lines going from the start and end points of the arc to the ellipse's center) in a C1PrintDocument.

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class RenderPie : RenderEllipse, IStyleOwner, IDocumentLocation

Constructors

Name Description
RenderPie()

Initializes a new instance of the RenderPie class. The start angle of the pie is set to 0, while the sweep angle is set to 360 degrees, thus making it a complete ellipse. The location and size of the ellipse are set to those of the current RenderPie object.

RenderPie(Unit, Unit, Unit, Unit, float, float)

Initializes a new instance of the RenderPie class, assigning the location, size, and start and sweep angles of the pie shape.

RenderPie(Unit, Unit, Unit, Unit, float, float, LineDef)

Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, and the LineDef used to draw the shape.

RenderPie(Unit, Unit, Unit, Unit, float, float, LineDef, Brush)

Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill brush.

RenderPie(Unit, Unit, Unit, Unit, float, float, LineDef, Color)

Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill color.

RenderPie(Unit, Unit, float, float)

Initializes a new instance of the RenderPie class, assigning the width, height, and start and sweep angles of the pie shape. The location of the shape is set to the location of the current RenderPie.

RenderPie(Unit, Unit, float, float, LineDef)

Initializes a new instance of the RenderPie class, assigning the width, height, start and sweep angles of the pie shape, and the LineDef used to draw the shape. The location of the shape is set to the location of the current RenderPie.

RenderPie(Unit, Unit, float, float, LineDef, Brush)

Initializes a new instance of the RenderPie class, assigning the width, height, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill brush. The location of the shape is set to the location of the current RenderPie.

RenderPie(Unit, Unit, float, float, LineDef, Color)

Initializes a new instance of the RenderPie class, assigning the width, height, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill color. The location of the shape is set to the location of the current RenderPie.

Properties

Name Description
Pie

Gets the EllipsePartProps object describing the pie shape represented by the current RenderPie object. The coordinates of the ellipse containing the pie shape are relative to the left top corner of the current RenderPie object.

Methods

Name Description
CreateSame()

Creates new empty RenderPie object linked with same C1PrintDocument as current object.