 |
VectorFontFactoryCreateTextOutlinePositions Method |
Returns an array of Vector3 arrays that define outline positions for the specified text.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic Vector3[][] CreateTextOutlinePositions(
string text,
Vector3 textPosition,
TextPositionTypes positionType,
Vector3 textDirection,
Vector3 upDirection,
float fontSize,
TextAlignment textAlignment = TextAlignment.Left
)
Parameters
- text String
- text to render (can have multiple lines)
- textPosition Vector3
- position as Vector3
- positionType TextPositionTypes
- type of text position; note that TextPositionTypes also defines the Baseline value
- textDirection Vector3
- text direction as Vector3
- upDirection Vector3
- text up direction as Vector3
- fontSize Single
- font size
- textAlignment TextAlignment (Optional)
- TextAlignment (Left by default)
Return Value
Vector3array of Vector3 arrays that define outline positions for the specified text
See Also