PeachDrawing.Text
PeachDrawing.Text.Layout
TabSize Struct
The distance between tab stops (CSS tab-size): a multiple of the width of a space in the face the tab is set in, or a length. The default value,
what default(TabSize) is, is 8 spaces.
public readonly record struct TabSize : System.IEquatable<PeachDrawing.Text.Layout.TabSize>
Implements System.IEquatable<TabSize>
| Properties | |
|---|---|
| IsLength | Whether the distance is a length, and not a number of spaces. |
| Value | The number of spaces, or the length in layout units when IsLength is set. |
| Methods | |
|---|---|
| FromLength(double) | A tab stop for every length layout units. |
| FromSpaces(double) | A tab stop for every count spaces, each as wide as a space is in the face of the tab, including the letter and word spacing that go with it. |