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

Class SvgPath

Represents an SVG Path element that renders a text with the specified styling.

Inheritance
object
SvgElement
SvgVisual
SvgPath
Implements
IXmlSerializable
IEquatable<SvgElement>
IDisposable
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 SvgPath : SvgVisual, IXmlSerializable, IEquatable<SvgElement>, IDisposable

Constructors

| Edit this page View Source

SvgPath()

Declaration
public SvgPath()
| Edit this page View Source

SvgPath(TextConfig)

Initializes a new instance of the SvgPath class with the specified TextConfig.

Declaration
public SvgPath(TextConfig textConfig)
Parameters
Type Name Description
TextConfig textConfig

The styling information for the text.

Fields

| Edit this page View Source

path

Declaration
protected readonly PathAttr path
Field Value
Type Description
PathAttr

Properties

| Edit this page View Source

Path

Declaration
public Path Path { get; set; }
Property Value
Type Description
Path
| 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

ApproximateToMultiPolygon(int)

Declaration
public MultiPolygon ApproximateToMultiPolygon(int segments)
Parameters
Type Name Description
int segments
Returns
Type Description
MultiPolygon
| 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()
| Edit this page View Source

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public void Dispose()

Implements

IXmlSerializable
IEquatable<T>
IDisposable