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

    Adds extensions that allow the processing of images to the type.

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

    Methods

    | Improve this Doc View Source

    GetTextOptions(Configuration)

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

    Declaration
    public static TextOptions GetTextOptions(this Configuration configuration)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration to retrieve defaults from.

    Returns
    Type Description
    TextOptions

    The globaly configued default options.

    | Improve this Doc View Source

    GetTextOptions(IImageProcessingContext)

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

    Declaration
    public static TextOptions GetTextOptions(this IImageProcessingContext context)
    Parameters
    Type Name Description
    IImageProcessingContext context

    The image processing context to retrieve defaults from.

    Returns
    Type Description
    TextOptions

    The globaly configued default options.

    | Improve this Doc View Source

    SetTextOptions(Configuration, TextOptions)

    Sets the default shape processing options against the configuration.

    Declaration
    public static void SetTextOptions(this Configuration configuration, TextOptions options)
    Parameters
    Type Name Description
    Configuration configuration

    The configuration to store default against.

    TextOptions options

    The default options to use.

    | Improve this Doc View Source

    SetTextOptions(Configuration, Action<TextOptions>)

    Sets the default shape processing options against the configuration.

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

    The configuration to store default against.

    Action<TextOptions> optionsBuilder

    The default options to use.

    | Improve this Doc View Source

    SetTextOptions(IImageProcessingContext, TextOptions)

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

    Declaration
    public static IImageProcessingContext SetTextOptions(this IImageProcessingContext context, TextOptions options)
    Parameters
    Type Name Description
    IImageProcessingContext context

    The image processing context to store default against.

    TextOptions options

    The default options to use.

    Returns
    Type Description
    IImageProcessingContext

    The passed in context to allow chaining.

    | Improve this Doc View Source

    SetTextOptions(IImageProcessingContext, Action<TextOptions>)

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

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

    The image processing context to store default against.

    Action<TextOptions> optionsBuilder

    The action to update instance of the default options used.

    Returns
    Type Description
    IImageProcessingContext

    The passed in context to allow chaining.

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