Class PathCollection
A aggregate of IPaths to apply common operations to them.
Inherited Members
Namespace: SixLabors.ImageSharp.Drawing
Assembly: SixLabors.ImageSharp.Drawing.dll
Syntax
public class PathCollection : IPathCollection, IEnumerable<IPath>, IEnumerable
Constructors
| Improve this Doc View SourcePathCollection(IPath[])
Initializes a new instance of the PathCollection class.
Declaration
public PathCollection(params IPath[] paths)
Parameters
Type | Name | Description |
---|---|---|
IPath[] | paths | The collection of paths |
PathCollection(IEnumerable<IPath>)
Initializes a new instance of the PathCollection class.
Declaration
public PathCollection(IEnumerable<IPath> paths)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IPath> | paths | The collection of paths |
Properties
| Improve this Doc View SourceBounds
Gets the bounds enclosing the path
Declaration
public RectangleF Bounds { get; }
Property Value
Type | Description |
---|---|
RectangleF |
Methods
| Improve this Doc View SourceGetEnumerator()
Declaration
public IEnumerator<IPath> GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator<IPath> |
Transform(Matrix3x2)
Transforms the path using the specified matrix.
Declaration
public IPathCollection Transform(Matrix3x2 matrix)
Parameters
Type | Name | Description |
---|---|---|
Matrix3x2 | matrix | The matrix. |
Returns
Type | Description |
---|---|
IPathCollection | A new path with the matrix applied to it. |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
IEnumerator |