Class TransformAttr
Represents an attribute for transform data. A transform is represented as a Transform class.
Inherited Members
Namespace: OpenSvg.Attributes
Assembly: OpenSvg.dll
Syntax
public class TransformAttr : Attr<Transform>, IAttr, IEquatable<IAttr>, IEquatable<Attr<Transform>>
Constructors
| Edit this page View SourceTransformAttr()
Constructs a new instance of TransformAttr with a default identity Transform.
Declaration
public TransformAttr()
Methods
| Edit this page View SourceDeserialize(string)
Deserializes an XML string to the value of the attribute.
Declaration
protected override Transform Deserialize(string xmlString)
Parameters
Type | Name | Description |
---|---|---|
string | xmlString | The XML string to deserialize. |
Returns
Type | Description |
---|---|
Transform | The deserialized value. |
Overrides
| Edit this page View SourceSerialize(Transform)
Serializes the value of the attribute to an XML string.
Declaration
protected override string Serialize(Transform value)
Parameters
Type | Name | Description |
---|---|---|
Transform | value | The value to serialize. |
Returns
Type | Description |
---|---|
string | The XML string representation of the value. |