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

    Provides configuration options for rendering and shaping of rich text.

    Inheritance
    object
    TextOptions
    RichTextOptions
    Inherited Members
    TextOptions.Font
    TextOptions.FallbackFontFamilies
    TextOptions.Dpi
    TextOptions.TabWidth
    TextOptions.HintingMode
    TextOptions.LineSpacing
    TextOptions.Origin
    TextOptions.WrappingLength
    TextOptions.WordBreaking
    TextOptions.TextDirection
    TextOptions.TextAlignment
    TextOptions.TextJustification
    TextOptions.HorizontalAlignment
    TextOptions.VerticalAlignment
    TextOptions.LayoutMode
    TextOptions.KerningMode
    TextOptions.ColorFontSupport
    TextOptions.FeatureTags
    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 class RichTextOptions : TextOptions

    Constructors

    | Edit this page View Source

    RichTextOptions(Font)

    Initializes a new instance of the RichTextOptions class.

    Declaration
    public RichTextOptions(Font font)
    Parameters
    Type Name Description
    Font font

    The font.

    | Edit this page View Source

    RichTextOptions(RichTextOptions)

    Initializes a new instance of the RichTextOptions class from properties copied from the given instance.

    Declaration
    public RichTextOptions(RichTextOptions options)
    Parameters
    Type Name Description
    RichTextOptions options

    The options whose properties are copied into this instance.

    Properties

    | Edit this page View Source

    Path

    Gets or sets an optional path to draw the text along.

    Declaration
    public IPath? Path { get; set; }
    Property Value
    Type Description
    IPath
    Remarks

    When this property is not null the Origin property is automatically applied as a translation to a copy of the path for processing.

    | Edit this page View Source

    TextRuns

    Gets or sets an optional collection of text runs to apply to the body of text.

    Declaration
    public IReadOnlyList<RichTextRun> TextRuns { get; set; }
    Property Value
    Type Description
    IReadOnlyList<RichTextRun>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX