• Articles
  • API Documentation
Search Results for

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

    Class ShapeGraphicOptionsDefaultsExtensions

    Adds extensions that allow the configuration of ShapeOptions.

    Inheritance
    object
    ShapeGraphicOptionsDefaultsExtensions
    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 ShapeGraphicOptionsDefaultsExtensions

    Methods

    | Edit this page View Source

    GetShapeOptions(Configuration)

    Gets the default shape processing options against The source image processing context.

    Declaration
    public static ShapeOptions GetShapeOptions(this Configuration configuration)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration to retrieve defaults from.

    Returns
    Type Description
    ShapeOptions

    The globally configured default options.

    | Edit this page View Source

    GetShapeOptions(IImageProcessingContext)

    Gets the default shape processing options against The source image processing context.

    Declaration
    public static ShapeOptions GetShapeOptions(this IImageProcessingContext context)
    Parameters
    Type Name Description
    IImageProcessingContext context

    The image processing context to retrieve defaults from.

    Returns
    Type Description
    ShapeOptions

    The globally configured default options.

    | Edit this page View Source

    SetShapeOptions(Configuration, ShapeOptions)

    Sets the default shape processing options against the configuration.

    Declaration
    public static void SetShapeOptions(this Configuration configuration, ShapeOptions options)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration to store default against.

    ShapeOptions options

    The default options to use.

    | Edit this page View Source

    SetShapeOptions(Configuration, Action<ShapeOptions>)

    Sets the default shape processing options against the configuration.

    Declaration
    public static void SetShapeOptions(this Configuration configuration, Action<ShapeOptions> optionsBuilder)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration to store default against.

    Action<ShapeOptions> optionsBuilder

    The default options to use.

    | Edit this page View Source

    SetShapeOptions(IImageProcessingContext, ShapeOptions)

    Sets the default shape processing options against The source image processing context.

    Declaration
    public static IImageProcessingContext SetShapeOptions(this IImageProcessingContext context, ShapeOptions options)
    Parameters
    Type Name Description
    IImageProcessingContext context

    The image processing context to store default against.

    ShapeOptions options

    The default options to use.

    Returns
    Type Description
    IImageProcessingContext

    The passed in context to allow chaining.

    | Edit this page View Source

    SetShapeOptions(IImageProcessingContext, Action<ShapeOptions>)

    Sets the default shape processing options against The source image processing context.

    Declaration
    public static IImageProcessingContext SetShapeOptions(this IImageProcessingContext context, Action<ShapeOptions> optionsBuilder)
    Parameters
    Type Name Description
    IImageProcessingContext context

    The image processing context to store default against.

    Action<ShapeOptions> optionsBuilder

    The action to update instance of the default options used.

    Returns
    Type Description
    IImageProcessingContext

    The passed in context to allow chaining.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX