Back to top OpenSVG (c) Veridict AB, www.veridict.com
Edit this page

Class SvgPolygon

Represents an SVG polygon element.

Inheritance
object
SvgElement
SvgVisual
SvgPolygon
Implements
IXmlSerializable
IEquatable<SvgElement>
Inherited Members
SvgVisual.fillColor
SvgVisual.strokeColor
SvgVisual.strokeWidth
SvgVisual.transform
SvgVisual.FillColor
SvgVisual.StrokeColor
SvgVisual.StrokeWidth
SvgVisual.Transform
SvgVisual.DrawConfig
SvgVisual.ConvexHull
SvgVisual.BoundingBox
SvgVisual.AlignRelativeTo(SvgVisual, HorizontalAlignment?, VerticalAlignment?)
SvgElement.id
SvgElement.ID
SvgElement.RootDocument
SvgElement.Root
SvgElement.Parent
SvgElement.ViewPort
SvgElement.ViewPortWidth
SvgElement.ViewPortHeight
SvgElement.GetSchema()
SvgElement.WriteXml(XmlWriter)
SvgElement.ReadXml(XmlReader)
SvgElement.ToSvgGroup()
SvgElement.ToSvgDocument()
SvgElement.Attributes()
SvgElement.Equals(object)
SvgElement.Equals(SvgElement)
SvgElement.InformedEquals(SvgElement)
SvgElement.GetHashCode()
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OpenSvg.SvgNodes
Assembly: OpenSvg.dll
Syntax
public class SvgPolygon : SvgVisual, IXmlSerializable, IEquatable<SvgElement>

Fields

| Edit this page View Source

polygon

Declaration
protected readonly PolygonAttr polygon
Field Value
Type Description
PolygonAttr

Properties

| Edit this page View Source

Polygon

Declaration
public Polygon Polygon { get; set; }
Property Value
Type Description
Polygon
| Edit this page View Source

SvgName

Gets or sets the name of the SVG element.

Declaration
public override string SvgName { get; }
Property Value
Type Description
string
Overrides
SvgElement.SvgName

Methods

| Edit this page View Source

ComputeConvexHull()

Protected method to compute the non-transformed convex hull of this SvgVisual element.

Declaration
protected override ConvexHull ComputeConvexHull()
Returns
Type Description
ConvexHull
Overrides
SvgVisual.ComputeConvexHull()

Implements

IXmlSerializable
IEquatable<T>