PeachDrawing.Core

PeachDrawing.Core.PathTextOptions

PathTextOptions(double, PathTextAnchor, PathTextSide, double, Nullable<ShapeSettings>) Constructor

How Layout(Typeface, double, string, PathMeasure, PathTextOptions) places text on a path.

public PathTextOptions(double StartOffset=0.0, PeachDrawing.Core.PathTextAnchor Anchor=PeachDrawing.Core.PathTextAnchor.Start, PeachDrawing.Core.PathTextSide Side=PeachDrawing.Core.PathTextSide.Left, double LetterSpacing=0.0, System.Nullable<PeachDrawing.Text.Shaping.ShapeSettings> Shaping=null);

Parameters

StartOffset System.Double

how far along the path the Anchor of the text goes

Anchor PathTextAnchor

which part of the text sits at StartOffset

Side PathTextSide

which side of the path the text sits on

LetterSpacing System.Double

extra space added after every glyph, in the canvas’s user units

Shaping System.Nullable<ShapeSettings>

shaping features (ligatures, language, and so on), or null for the defaults