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

Class PathAttr

Represents an attribute for path data, represented as a Path class.

Inheritance
object
Attr<Path>
PathAttr
Implements
IAttr
IEquatable<IAttr>
IEquatable<Attr<Path>>
Inherited Members
Attr<Path>.DefaultValue
Attr<Path>.Name
Attr<Path>.IsConstant
Attr<Path>.ShouldBeSerialized
Attr<Path>.SetBySerializer(string)
Attr<Path>.ToXmlString()
Attr<Path>.DefaultEquals(Path)
Attr<Path>.ValueEquals(Path)
Attr<Path>.Equals(Attr<Path>)
Attr<Path>.Set(Path)
Attr<Path>.Get()
Attr<Path>.ToString()
Attr<Path>.Equals(IAttr)
Attr<Path>.GetHashCode()
Attr<Path>.Equals(object)
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: OpenSvg.Attributes
Assembly: OpenSvg.dll
Syntax
public class PathAttr : Attr<Path>, IAttr, IEquatable<IAttr>, IEquatable<Attr<Path>>

Constructors

| Edit this page View Source

PathAttr()

Initializes a new instance of the PathAttr class.

Declaration
public PathAttr()

Methods

| Edit this page View Source

Deserialize(string)

Deserializes an XML string to the value of the attribute.

Declaration
protected override Path Deserialize(string xmlString)
Parameters
Type Name Description
string xmlString

The XML string to deserialize.

Returns
Type Description
Path

The deserialized value.

Overrides
Attr<Path>.Deserialize(string)
| Edit this page View Source

Serialize(Path)

Serializes the value of the attribute to an XML string.

Declaration
protected override string Serialize(Path value)
Parameters
Type Name Description
Path value

The value to serialize.

Returns
Type Description
string

The XML string representation of the value.

Overrides
Attr<Path>.Serialize(Path)

Implements

IAttr
IEquatable<T>
IEquatable<T>