Class EllipseElement
EllipseElement class.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.SVG.IO
Assembly: Syncfusion.Diagram.Base.dll
Syntax
public class EllipseElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute
Constructors
EllipseElement()
Initializes a new instance of the EllipseElement class.
Declaration
public EllipseElement()
Properties
CX
Gets or sets the length.
Declaration
public Length CX { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
CY
Gets or sets the length.
Declaration
public Length CY { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
RX
Gets or sets the length.
Declaration
public Length RX { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
RY
Gets or sets the length.
Declaration
public Length RY { get; set; }
Property Value
Type | Description |
---|---|
Length | The length. |
Methods
DrawSelf(Graphics)
Draws self.
Declaration
protected override void DrawSelf(Graphics g)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | The graphics. |
Overrides
FromCoordinates(Single, Single, Single, Single)
Froms the coordinates.
Declaration
public static EllipseElement FromCoordinates(float x, float y, float width, float height)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x | The x. |
System.Single | y | The y. |
System.Single | width | The width. |
System.Single | height | The height. |
Returns
Type | Description |
---|---|
EllipseElement | Ellipse element |
FromRectangleF(RectangleF)
Ellipse from the rectangle.
Declaration
public static EllipseElement FromRectangleF(RectangleF rect)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.RectangleF | rect | The rect. |
Returns
Type | Description |
---|---|
EllipseElement | Ellipse element |