Create a new EllipseShape with the given startpoint, horizontal and vertical radius, pen and brush.
Namespace: TallComponents.PDF.Layout.ShapesAssembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0
Syntax
| C# |
|---|
public EllipseShape( double x, double y, double rx, double ry, Pen pen, Brush brush ) |
| Visual Basic |
|---|
Public Sub New ( _ x As Double, _ y As Double, _ rx As Double, _ ry As Double, _ pen As Pen, _ brush As Brush _ ) |
Parameters
- x
- Type: System..::..Double
X-position of the center of the ellipse.
- y
- Type: System..::..Double
Y-position of the center of the ellipse.
- rx
- Type: System..::..Double
Horizontal radius.
- ry
- Type: System..::..Double
Vertical radius.
- pen
- Type: TallComponents.PDF.Layout.Pens..::..Pen
Used to draw the curves of the ellipse.
- brush
- Type: TallComponents.PDF.Layout.Brushes..::..Brush
The brush that is used to fill this shape if closed.