Class RichGlyphOptions
- Namespace
- SixLabors.ImageSharp.Drawing.Processing
- Assembly
- SixLabors.ImageSharp.Drawing.dll
Provides GlyphOptions for rendering a glyph by id with per-glyph Brush and Pen support. The paint is carried to the renderer via a RichTextRun, so it can vary per glyph across a run.
public class RichGlyphOptions : GlyphOptions
- Inheritance
-
RichGlyphOptions
- Inherited Members
Properties
Brush
Gets or sets the brush used for filling this run.
public Brush? Brush { get; set; }
Property Value
OverlinePen
Gets or sets the pen used for drawing overline features for this run.
public Pen? OverlinePen { get; set; }
Property Value
Pen
Gets or sets the pen used for outlining this run.
public Pen? Pen { get; set; }
Property Value
StrikeoutPen
Gets or sets the pen used for drawing strikeout features for this run.
public Pen? StrikeoutPen { get; set; }
Property Value
UnderlinePen
Gets or sets the pen used for drawing underline features for this run.
public Pen? UnderlinePen { get; set; }
Property Value
Methods
CreateTextRun()
Creates the text run associated with the glyph.
protected override TextRun CreateTextRun()
Returns
- TextRun
The text run associated with the glyph.