Class SvgPath
Represents an SVG Path element that renders a text with the specified styling.
Assembly: OpenSvg.dll
Syntax
public class SvgPath : SvgVisual, IXmlSerializable, IEquatable<SvgElement>, IDisposable
Constructors
|
Edit this page
View Source
SvgPath()
Declaration
|
Edit this page
View Source
SvgPath(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
Properties
|
Edit this page
View Source
Path
Declaration
public Path Path { get; set; }
Property Value
|
Edit this page
View Source
SvgName
Gets or sets the name of the SVG element.
Declaration
public override string SvgName { get; }
Property Value
Overrides
Methods
|
Edit this page
View Source
ApproximateToMultiPolygon(int)
Declaration
public MultiPolygon ApproximateToMultiPolygon(int segments)
Parameters
Type |
Name |
Description |
int |
segments |
|
Returns
|
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
Overrides
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
Implements