Class SvgTransformCollection
- Namespace
- Svg.Transforms
- Assembly
- Svg.dll
[TypeConverter(typeof(SvgTransformConverter))]
public class SvgTransformCollection : List<SvgTransform>, IList<SvgTransform>, ICollection<SvgTransform>, IReadOnlyList<SvgTransform>, IReadOnlyCollection<SvgTransform>, IEnumerable<SvgTransform>, IList, ICollection, IEnumerable, ICloneable
- Inheritance
-
SvgTransformCollection
- Implements
- Inherited Members
Properties
this[int]
public SvgTransform this[int i] { get; set; }
Parameters
i
int
Property Value
Methods
Add(SvgTransform)
public void Add(SvgTransform item)
Parameters
item
SvgTransform
AddRange(IEnumerable<SvgTransform>)
public void AddRange(IEnumerable<SvgTransform> collection)
Parameters
collection
IEnumerable<SvgTransform>
Clone()
Creates a new object that is a copy of the current instance.
public object Clone()
Returns
- object
A new object that is a copy of this instance.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetMatrix()
Multiplies all matrices
public Matrix GetMatrix()
Returns
- Matrix
The result of all transforms
OnTransformChanged()
protected void OnTransformChanged()
Remove(SvgTransform)
public void Remove(SvgTransform item)
Parameters
item
SvgTransform
RemoveAt(int)
public void RemoveAt(int index)
Parameters
index
int
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Events
TransformChanged
Fired when an SvgTransform has changed
public event EventHandler<AttributeEventArgs> TransformChanged