Table of Contents

Class SvgPath

Namespace
Svg
Assembly
Svg.dll

Represents an SVG path element.

[SvgElement("path")]
public class SvgPath : SvgMarkerElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable, ISvgPathElement
Inheritance
SvgPath
Implements
Inherited Members
Extension Methods

Properties

PathData

Gets or sets a SvgPathSegmentList of path data.

public SvgPathSegmentList PathData { get; set; }

Property Value

SvgPathSegmentList

PathLength

Gets or sets the length of the path.

public float PathLength { get; set; }

Property Value

float

Methods

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

DeepCopy<T>()

public override SvgElement DeepCopy<T>() where T : SvgElement, new()

Returns

SvgElement

Type Parameters

T

OnPathUpdated()

public void OnPathUpdated()

Path(ISvgRenderer)

Gets the GraphicsPath for this element.

public override GraphicsPath Path(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

Returns

GraphicsPath