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

    Adds extensions that allow the drawing of closed linear polygons to the type.

    Inheritance
    Object
    DrawPolygonExtensions
    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 DrawPolygonExtensions

    Methods

    | Improve this Doc View Source

    DrawPolygon(IImageProcessingContext, Color, Single, PointF[])

    Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.

    Declaration
    public static IImageProcessingContext DrawPolygon(this IImageProcessingContext source, Color color, float thickness, params PointF[] points)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    Color color

    The color.

    Single thickness

    The thickness.

    PointF[] points

    The points.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    DrawPolygon(IImageProcessingContext, DrawingOptions, Color, Single, PointF[])

    Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.

    Declaration
    public static IImageProcessingContext DrawPolygon(this IImageProcessingContext source, DrawingOptions options, Color color, float thickness, params PointF[] points)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    DrawingOptions options

    The options.

    Color color

    The color.

    Single thickness

    The thickness.

    PointF[] points

    The points.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    DrawPolygon(IImageProcessingContext, DrawingOptions, IBrush, Single, PointF[])

    Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.

    Declaration
    public static IImageProcessingContext DrawPolygon(this IImageProcessingContext source, DrawingOptions options, IBrush brush, float thickness, params PointF[] points)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    DrawingOptions options

    The options.

    IBrush brush

    The brush.

    Single thickness

    The thickness.

    PointF[] points

    The points.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    DrawPolygon(IImageProcessingContext, DrawingOptions, IPen, PointF[])

    Draws the provided Points as a closed Linear Polygon with the provided Pen.

    Declaration
    public static IImageProcessingContext DrawPolygon(this IImageProcessingContext source, DrawingOptions options, IPen pen, params PointF[] points)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    DrawingOptions options

    The options.

    IPen pen

    The pen.

    PointF[] points

    The points.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    DrawPolygon(IImageProcessingContext, IBrush, Single, PointF[])

    Draws the provided Points as a closed Linear Polygon with the provided brush at the provided thickness.

    Declaration
    public static IImageProcessingContext DrawPolygon(this IImageProcessingContext source, IBrush brush, float thickness, params PointF[] points)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    IBrush brush

    The brush.

    Single thickness

    The thickness.

    PointF[] points

    The points.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

    | Improve this Doc View Source

    DrawPolygon(IImageProcessingContext, IPen, PointF[])

    Draws the provided Points as a closed Linear Polygon with the provided Pen.

    Declaration
    public static IImageProcessingContext DrawPolygon(this IImageProcessingContext source, IPen pen, params PointF[] points)
    Parameters
    Type Name Description
    IImageProcessingContext source

    The image this method extends.

    IPen pen

    The pen.

    PointF[] points

    The points.

    Returns
    Type Description
    IImageProcessingContext

    The to allow chaining of operations.

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