 |
VectorFontFactoryCreateIndividualTextOutlinePositions Method |
CreateIndividualTextOutlinePositions generates 2D outline positions for the specified text.
The returned list contains tuples with the following values: index of the character in the text, the character and the outline positions.
Note that each character can have multiple Vector2 array, that means that multiple items in the returned list can be created from a single character.
The coordinate axis (0, 0) starts at the baseline of the first character.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic List<(int charIndexInText, char character, Vector2[] )> CreateIndividualTextOutlinePositions(
string text,
float fontSize
)
Parameters
- text String
- text
- fontSize Single
- font size
Return Value
ListValueTupleInt32,
Char,
Vector2list contains tuples with the following values: index of the character in the text, the character and the outline positions
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.VectorFontFactory.CreateIndividualTextOutlinePositions(System.String,System.Single)"]
See Also