Draws an ellipse defined by a bounding rectangle specified by a coordinate pair, a width, and a height.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
C# |
---|
public void DrawEllipse( Pen pen, double x, double y, double width, double height ) |
Visual Basic |
---|
Public Sub DrawEllipse ( _ pen As Pen, _ x As Double, _ y As Double, _ width As Double, _ height As Double _ ) |
Parameters
- pen
- Type: C1.Silverlight.Pdf..::..Pen
Pen object that determines the color, width, and style of the ellipse.
- x
- Type: System..::..Double
x-coordinate of the upper-left corner of the bounding rectangle.
- y
- Type: System..::..Double
x-coordinate of the upper-left corner of the bounding rectangle.
- width
- Type: System..::..Double
Width of the bounding rectangle.
- height
- Type: System..::..Double
Height of the bounding rectangle.
Remarks
All coordinates are expressed in points, measured from the upper-left corner of the page.