PeachDrawing.Text
PeachDrawing.Text.Layout.TextPosition
TextPosition(int, TextAffinity) Constructor
A place in the text of a paragraph.
public TextPosition(int Index, PeachDrawing.Text.Layout.TextAffinity Affinity=PeachDrawing.Text.Layout.TextAffinity.Downstream);
Parameters
Index System.Int32
The UTF-16 offset of the boundary between two characters, from 0 to the length of the text.
Affinity TextAffinity
Which line the position is on when Index is where a soft line break falls.