PeachDrawing.Text
PeachDrawing.Text.Layout
ContentWidths Struct
The narrowest and widest a paragraph can be laid out.
public readonly record struct ContentWidths : System.IEquatable<PeachDrawing.Text.Layout.ContentWidths>
Implements System.IEquatable<ContentWidths>
| Constructors | |
|---|---|
| ContentWidths(double, double) | The narrowest and widest a paragraph can be laid out. |
| Properties | |
|---|---|
| MaxContent | The width of the widest line when nothing but forced breaks end a line: laying it out wider changes nothing. |
| MinContent | The width of the widest unbreakable piece: laying the paragraph out narrower makes something overflow. |