Constructor PieShape

Namespace TallComponents.PDF.Layout.Shapes
Class PieShape

Create a new PieShape with the given startpoint, horizontal and vertical radius, pen, start and sweep angle.

Syntax

public  PieShape( Double  x Double  y Double  rx Double  ry Pen  pen Brush  brush Double  start Double  sweep Boolean  closed )

Parameters


Double x
X-position of the center of the pie.

Double y
Y-position of the center of the pie.

Double rx
Horizontal radius.

Double ry
Vertical radius.

Pen pen
Used to draw the curves of the pie.

Brush brush
The brush that is used to fill this shape if closed.

Double start
Start angle (0 corresponds to 3 o-clock).

Double sweep
Sweep angle, counter-clockwise.

Boolean closed
Close this path shape by drawing a straight line from the end point to the center and from the center to the start point.