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
iint
Property Value
Methods
Add(SvgTransform)
public void Add(SvgTransform item)
Parameters
itemSvgTransform
AddRange(IEnumerable<SvgTransform>)
public void AddRange(IEnumerable<SvgTransform> collection)
Parameters
collectionIEnumerable<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
objobjectThe 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
itemSvgTransform
RemoveAt(int)
public void RemoveAt(int index)
Parameters
indexint
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