PeachDrawing.Text
PeachDrawing.Text.Outlines
ColorClipBox Struct
A rectangle in design units that holds everything a colour glyph paints, which the font gives so that a renderer can size a surface or clip to it without walking the glyph’s paint graph. A variable font’s box follows the location of the Typeface it is read from.
public readonly record struct ColorClipBox : System.IEquatable<PeachDrawing.Text.Outlines.ColorClipBox>
Implements System.IEquatable<ColorClipBox>
| Constructors | |
|---|---|
| ColorClipBox(double, double, double, double) | A rectangle in design units that holds everything a colour glyph paints, which the font gives so that a renderer can size a surface or clip to it without walking the glyph’s paint graph. A variable font’s box follows the location of the Typeface it is read from. |
| Properties | |
|---|---|
| XMax | The right edge. |
| XMin | The left edge. |
| YMax | The top edge. |
| YMin | The bottom edge. |