• Articles
  • API Documentation
Search Results for

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

    Class Pens

    Contains a collection of common Pen styles

    Inheritance
    Object
    Pens
    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.Processing
    Assembly: SixLabors.ImageSharp.Drawing.dll
    Syntax
    public static class Pens

    Methods

    | Improve this Doc View Source

    Dash(Color, Single)

    Create a pen with a 'Dash' drawing patterns

    Declaration
    public static Pen Dash(Color color, float width)
    Parameters
    Type Name Description
    Color color

    The color.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    Dash(IBrush, Single)

    Create a pen with a 'Dash' drawing patterns

    Declaration
    public static Pen Dash(IBrush brush, float width)
    Parameters
    Type Name Description
    IBrush brush

    The brush.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    DashDot(Color, Single)

    Create a pen with a 'Dash Dot' drawing patterns

    Declaration
    public static Pen DashDot(Color color, float width)
    Parameters
    Type Name Description
    Color color

    The color.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    DashDot(IBrush, Single)

    Create a pen with a 'Dash Dot' drawing patterns

    Declaration
    public static Pen DashDot(IBrush brush, float width)
    Parameters
    Type Name Description
    IBrush brush

    The brush.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    DashDotDot(Color, Single)

    Create a pen with a 'Dash Dot Dot' drawing patterns

    Declaration
    public static Pen DashDotDot(Color color, float width)
    Parameters
    Type Name Description
    Color color

    The color.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    DashDotDot(IBrush, Single)

    Create a pen with a 'Dash Dot Dot' drawing patterns

    Declaration
    public static Pen DashDotDot(IBrush brush, float width)
    Parameters
    Type Name Description
    IBrush brush

    The brush.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    Dot(Color, Single)

    Create a pen with a 'Dot' drawing patterns

    Declaration
    public static Pen Dot(Color color, float width)
    Parameters
    Type Name Description
    Color color

    The color.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    Dot(IBrush, Single)

    Create a pen with a 'Dot' drawing patterns

    Declaration
    public static Pen Dot(IBrush brush, float width)
    Parameters
    Type Name Description
    IBrush brush

    The brush.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    Solid(Color, Single)

    Create a solid pen with out any drawing patterns

    Declaration
    public static Pen Solid(Color color, float width)
    Parameters
    Type Name Description
    Color color

    The color.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

    | Improve this Doc View Source

    Solid(IBrush, Single)

    Create a solid pen with out any drawing patterns

    Declaration
    public static Pen Solid(IBrush brush, float width)
    Parameters
    Type Name Description
    IBrush brush

    The brush.

    Single width

    The width.

    Returns
    Type Description
    Pen

    The Pen

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