WinForms

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

    Show / Hide Table of Contents

    Class PolygonElement

    Implements the "polygon" element of SVG DOM.

    Inheritance
    System.Object
    Element
    SuperElement
    PolygonElement
    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 PolygonElement : SuperElement, IElement, IStrokeAttributes, IFillAttributes, ITransformAttribute, IStyleAttribute, IFontAttributes, IViewBoxAttribute, IOpacityAttribute, IClipingAttribute

    Constructors

    PolygonElement()

    Initializes a new instance of the PolygonElement class.

    Declaration
    public PolygonElement()

    Properties

    Points

    Gets or sets the points.

    Declaration
    public PointsArray Points { get; set; }
    Property Value
    Type Description
    PointsArray

    The points.

    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)

    FromPoints(PointF[])

    Creates the new PolygonElement instance by the specified points.

    Declaration
    public static PolygonElement FromPoints(PointF[] points)
    Parameters
    Type Name Description
    System.Drawing.PointF[] points

    The points.

    Returns
    Type Description
    PolygonElement

    Implements

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