WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class EllipseElement - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class EllipseElement

    Implements the "ellipse" element of SVG DOM.

    Inheritance
    System.Object
    Element
    SuperElement
    EllipseElement
    Implements
    IElement
    IStrokeAttributes
    IFillAttributes
    ITransformAttribute
    IStyleAttribute
    IFontAttributes
    IViewBoxAttribute
    IOpacityAttribute
    IClipingAttribute
    Inherited Members
    SuperElement.Draw(Graphics)
    SuperElement.SetXmlAttribute(XmlAttribute)
    SuperElement.IStrokeAttributes.Stroke
    SuperElement.IStrokeAttributes.StrokeWidth
    SuperElement.IStrokeAttributes.StrokeLinecap
    SuperElement.IStrokeAttributes.StrokeLinejoin
    SuperElement.IStrokeAttributes.StrokeMiterlimit
    SuperElement.IStrokeAttributes.StrokeDasharray
    SuperElement.IStrokeAttributes.StrokeDashoffset
    SuperElement.IStrokeAttributes.StrokeOpacity
    SuperElement.IFillAttributes.Fill
    SuperElement.IFillAttributes.FillOpacity
    SuperElement.ITransformAttribute.Transform
    SuperElement.Style
    SuperElement.IFontAttributes.FontFamily
    SuperElement.IFontAttributes.FontStyle
    SuperElement.IFontAttributes.FontVariant
    SuperElement.IFontAttributes.FontWeight
    SuperElement.IFontAttributes.FontStretch
    SuperElement.IFontAttributes.FontSize
    SuperElement.IFontAttributes.FontSizeAdjust
    SuperElement.IFontAttributes.Font
    SuperElement.IViewBoxAttribute.ViewBox
    SuperElement.IOpacityAttribute.Opacity
    SuperElement.IClipingAttribute.ClipRule
    SuperElement.IClipingAttribute.ClipPath
    Element.AddChild(Element)
    Element.WriteXmlAttributes(XmlWriter)
    Element.GetAttribute(Object, Object)
    Element.SetAttribute(Object, Object, Object)
    Element.CanAddChild(Element)
    Element.Name
    Element.Children
    Element.Attributes
    Element.Parent
    Element.Id
    Element.OwnerDocument
    Element.Text
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Chart.SvgBase
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public sealed 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 X coordinate of the element center.

    Declaration
    public Length CX { get; set; }
    Property Value
    Type Description
    Length

    The X coordinate of the element center.

    CY

    Gets or sets the Y coordinate of the element center.

    Declaration
    public Length CY { get; set; }
    Property Value
    Type Description
    Length

    The Y coordinate of the element center.

    RX

    Gets or sets the horizontal radius.

    Declaration
    public Length RX { get; set; }
    Property Value
    Type Description
    Length

    The horizontal radius.

    RY

    Gets or sets the vertical radius.

    Declaration
    public Length RY { get; set; }
    Property Value
    Type Description
    Length

    The vertical radius.

    Methods

    DrawSelf(Graphics)

    Draws the element to specified System.Drawing.Graphics.

    Declaration
    protected override void DrawSelf(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    The System.Drawing.Graphics.

    Overrides
    SuperElement.DrawSelf(Graphics)

    FromCoordinates(Single, Single, Single, Single)

    Creates instance of the EllipseElement by its location and size.

    Declaration
    public static EllipseElement FromCoordinates(float x, float y, float width, float height)
    Parameters
    Type Name Description
    System.Single x

    The x-location of the element.

    System.Single y

    The y-location of the element.

    System.Single width

    The width of the element.

    System.Single height

    The height of the element.

    Returns
    Type Description
    EllipseElement

    Calculated EllipseElement.

    FromRectangleF(RectangleF)

    Creates the new EllipseElement instance by the specified System.Drawing.RectangleF.

    Declaration
    public static EllipseElement FromRectangleF(RectangleF rect)
    Parameters
    Type Name Description
    System.Drawing.RectangleF rect

    The rect.

    Returns
    Type Description
    EllipseElement

    Returns EllipseElement.

    Implements

    IElement
    IStrokeAttributes
    IFillAttributes
    ITransformAttribute
    IStyleAttribute
    IFontAttributes
    IViewBoxAttribute
    IOpacityAttribute
    IClipingAttribute
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved