• 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 OutlinePathExtensions

    Path extensions to generate outlines of paths.

    Inheritance
    Object
    OutlinePathExtensions
    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 static class OutlinePathExtensions

    Methods

    | Improve this Doc View Source

    GenerateOutline(IPath, Single)

    Generates a solid outline of the path.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    Returns
    Type Description
    IPath

    A new path representing the outline.

    | Improve this Doc View Source

    GenerateOutline(IPath, Single, JointStyle, EndCapStyle)

    Generates a solid outline of the path.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width, JointStyle jointStyle = JointStyle.Square, EndCapStyle endCapStyle = EndCapStyle.Square)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    JointStyle jointStyle

    The style to render the joints.

    EndCapStyle endCapStyle

    The style to render the end caps of open paths (ignored on closed paths).

    Returns
    Type Description
    IPath

    A new path representing the outline.

    | Improve this Doc View Source

    GenerateOutline(IPath, Single, ReadOnlySpan<Single>)

    Generates a outline of the path with alternating on and off segments based on the pattern.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width, ReadOnlySpan<float> pattern)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    ReadOnlySpan<Single> pattern

    The pattern made of multiples of the width.

    Returns
    Type Description
    IPath

    A new path representing the outline.

    | Improve this Doc View Source

    GenerateOutline(IPath, Single, ReadOnlySpan<Single>, Boolean)

    Generates a outline of the path with alternating on and off segments based on the pattern.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width, ReadOnlySpan<float> pattern, bool startOff)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    ReadOnlySpan<Single> pattern

    The pattern made of multiples of the width.

    Boolean startOff

    Weather the first item in the pattern is on or off.

    Returns
    Type Description
    IPath

    A new path representing the outline.

    | Improve this Doc View Source

    GenerateOutline(IPath, Single, ReadOnlySpan<Single>, Boolean, JointStyle, EndCapStyle)

    Generates a outline of the path with alternating on and off segments based on the pattern.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width, ReadOnlySpan<float> pattern, bool startOff, JointStyle jointStyle = JointStyle.Square, EndCapStyle patternSectionCapStyle = EndCapStyle.Butt)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    ReadOnlySpan<Single> pattern

    The pattern made of multiples of the width.

    Boolean startOff

    Weather the first item in the pattern is on or off.

    JointStyle jointStyle

    The style to render the joints.

    EndCapStyle patternSectionCapStyle

    The style to render between sections of the specified pattern.

    Returns
    Type Description
    IPath

    A new path representing the outline.

    | Improve this Doc View Source

    GenerateOutline(IPath, Single, Single[])

    Generates a outline of the path with alternating on and off segments based on the pattern.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width, float[] pattern)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    Single[] pattern

    The pattern made of multiples of the width.

    Returns
    Type Description
    IPath

    A new path representing the outline.

    | Improve this Doc View Source

    GenerateOutline(IPath, Single, Single[], Boolean)

    Generates a outline of the path with alternating on and off segments based on the pattern.

    Declaration
    public static IPath GenerateOutline(this IPath path, float width, float[] pattern, bool startOff)
    Parameters
    Type Name Description
    IPath path

    the path to outline

    Single width

    The final width outline

    Single[] pattern

    The pattern made of multiples of the width.

    Boolean startOff

    Weather the first item in the pattern is on or off.

    Returns
    Type Description
    IPath

    A new path representing the outline.

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