PeachDrawing.Core
PeachDrawing.Core
PathTextOptions Struct
How Layout(Typeface, double, string, PathMeasure, PathTextOptions) places text on a path.
public readonly record struct PathTextOptions : System.IEquatable<PeachDrawing.Core.PathTextOptions>
Implements System.IEquatable<PathTextOptions>
| Constructors | |
|---|---|
| PathTextOptions(double, PathTextAnchor, PathTextSide, double, Nullable<ShapeSettings>) | How Layout(Typeface, double, string, PathMeasure, PathTextOptions) places text on a path. |
| Properties | |
|---|---|
| Anchor | which part of the text sits at StartOffset |
| LetterSpacing | extra space added after every glyph, in the canvas’s user units |
| Shaping | shaping features (ligatures, language, and so on), or null for the defaults |
| Side | which side of the path the text sits on |
| StartOffset | how far along the path the Anchor of the text goes |