• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Drawing
      • ClipPathExtensions
      • ComplexPolygon
      • CubicBezierLineSegment
      • EllipsePolygon
      • EndCapStyle
      • ILineSegment
      • IntersectionRule
      • IPath
      • IPathCollection
      • ISimplePath
      • JointStyle
      • LinearLineSegment
      • OutlinePathExtensions
      • Path
      • PathBuilder
      • PathCollection
      • PathExtensions
      • PathTypes
      • Polygon
      • RectangularPolygon
      • Region
      • RegularPolygon
      • SegmentInfo
      • Star
      • TextBuilder
    • SixLabors.ImageSharp.Drawing.PolygonClipper
      • ClippablePath
      • Clipper
      • ClippingType
    • SixLabors.ImageSharp.Drawing.Processing
      • BrushApplicator<TPixel>
      • Brushes
      • ClearExtensions
      • ClearPathExtensions
      • ClearRectangleExtensions
      • ClearRegionExtensions
      • ColorStop
      • DrawBezierExtensions
      • DrawingOptions
      • DrawingOptionsDefaultsExtensions
      • DrawLineExtensions
      • DrawPathCollectionExtensions
      • DrawPathExtensions
      • DrawPolygonExtensions
      • DrawRectangleExtensions
      • DrawTextExtensions
      • EllipticGradientBrush
      • FillExtensions
      • FillPathBuilderExtensions
      • FillPathCollectionExtensions
      • FillPathExtensions
      • FillPolygonExtensions
      • FillRectangleExtensions
      • FillRegionExtensions
      • GradientBrush
      • GradientRepetitionMode
      • IBrush
      • ImageBrush
      • IPen
      • LinearGradientBrush
      • PathGradientBrush
      • PatternBrush
      • Pen
      • Pens
      • RadialGradientBrush
      • RecolorBrush
      • ShapeGraphicOptionsDefaultsExtensions
      • ShapeOptions
      • SolidBrush
      • TextOptions
      • TextOptionsDefaultsExtensions
    • SixLabors.ImageSharp.Drawing.Processing.Processors.Drawing
      • DrawPathProcessor
      • FillPathProcessor
      • FillProcessor
      • FillRegionProcessor
    • SixLabors.ImageSharp.Drawing.Processing.Processors.Text
      • DrawTextProcessor

    Class PathCollection

    A aggregate of IPaths to apply common operations to them.

    Inheritance
    Object
    PathCollection
    Implements
    IPathCollection
    IEnumerable<IPath>
    IEnumerable
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: SixLabors.ImageSharp.Drawing
    Assembly: SixLabors.ImageSharp.Drawing.dll
    Syntax
    public class PathCollection : IPathCollection, IEnumerable<IPath>, IEnumerable

    Constructors

    | Improve this Doc View Source

    PathCollection(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

    | Improve this Doc View Source

    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 Source

    Bounds

    Gets the bounds enclosing the path

    Declaration
    public RectangleF Bounds { get; }
    Property Value
    Type Description
    RectangleF

    Methods

    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<IPath> GetEnumerator()
    Returns
    Type Description
    IEnumerator<IPath>
    | Improve this Doc View Source

    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 Source

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    IEnumerator

    Implements

    IPathCollection
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable

    Extension Methods

    PathExtensions.Rotate(IPathCollection, Single)
    PathExtensions.RotateDegree(IPathCollection, Single)
    PathExtensions.Translate(IPathCollection, PointF)
    PathExtensions.Translate(IPathCollection, Single, Single)
    PathExtensions.Scale(IPathCollection, Single, Single)
    PathExtensions.Scale(IPathCollection, Single)

    See Also

    IPath
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX