EllipseShape Class
An ellipse drawn using a pen and brush.
Inheritance Hierarchy

Namespace: TallComponents.PDF.Layout.Shapes
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 4.0.7.0
Syntax
[SerializableAttribute]
public class EllipseShape : PathShape

The EllipseShape type exposes the following members.

Constructors
  NameDescription
Public methodEllipseShape
Create a new EllipseShape.
Public methodEllipseShape(Double, Double, Double, Double)
Create a new EllipseShape with the given startpoint, horizontal and vertical radius.
Public methodEllipseShape(Double, Double, Double, Double, Pen)
Create a new EllipseShape with the given startpoint, horizontal and vertical radius and pen.
Public methodEllipseShape(Double, Double, Double, Double, Pen, Brush)
Create a new EllipseShape with the given startpoint, horizontal and vertical radius, pen and brush.
Top
Properties
  NameDescription
Public propertyBlendMode
The blend mode used by this shape. (default is BlendMode.Inherit)
(Inherited from ContentShape.)
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyBrush
The brush that is used to fill this shape if closed.
(Inherited from PathShape.)
Public propertyClosed
Close this path shape by drawing a straight line from the end point to the start point.
(Inherited from PathShape.)
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyPathShapes
The segments that make up this path shape.
(Inherited from PathShape.)
Public propertyPen
Used to draw the curves on this path.
(Inherited from PathShape.)
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRx
Horizontal radius in points.
Public propertyRy
Vertical radius in points.
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Top
Methods
  NameDescription
Public methodClone
Clones a Shape.
(Inherited from PathShape.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
The center is determined by the X and Y properties of base class Shape.
Examples
XML
<shape type="ellipseshape" x="40" y="40" rx="8" ry="8">
   <brush type="solidbrush" color="orange"/>
  <pen color="black" width="1"/>
</shape>
See Also