PeachDrawing.Core
PeachDrawing.Core
ParagraphPaint Struct
How one run of a paragraph is painted: what a layout, which knows only about faces, sizes and positions, leaves to the caller.
public readonly record struct ParagraphPaint : System.IEquatable<PeachDrawing.Core.ParagraphPaint>
Implements System.IEquatable<ParagraphPaint>
| Constructors | |
|---|---|
| ParagraphPaint(PaintColor, TextDecorations, Nullable<PaintColor>) | How one run of a paragraph is painted: what a layout, which knows only about faces, sizes and positions, leaves to the caller. |
| Properties | |
|---|---|
| Color | the color of the text |
| DecorationColor | the color of those lines, or null for Color |
| Decorations | the lines drawn along the run |