Class PolylineAttr
Represents an attribute for setting a point list as a Polyline for an SVG element.
Inherited Members
Namespace: OpenSvg.Attributes
Assembly: OpenSvg.dll
Syntax
public class PolylineAttr : Attr<Polyline>, IAttr, IEquatable<IAttr>, IEquatable<Attr<Polyline>>
Constructors
| Edit this page View SourcePolylineAttr()
Initializes a new instance of the PolygonAttr class.
Declaration
public PolylineAttr()
Methods
| Edit this page View SourceDeserialize(string)
Deserializes an XML string to the value of the attribute.
Declaration
protected override Polyline Deserialize(string xmlString)
Parameters
Type | Name | Description |
---|---|---|
string | xmlString | The XML string to deserialize. |
Returns
Type | Description |
---|---|
Polyline | The deserialized value. |
Overrides
| Edit this page View SourceSerialize(Polyline)
Serializes the value of the attribute to an XML string.
Declaration
protected override string Serialize(Polyline value)
Parameters
Type | Name | Description |
---|---|---|
Polyline | value | The value to serialize. |
Returns
Type | Description |
---|---|
string | The XML string representation of the value. |