|
Text3DFactoryCreateText3DLinePositions Method |
CreateText3DLinePositions creates positions that define 3D lines created from the specified text.
The positions are defined in two out parameters. The first defines a list of Point3DCollection that can be used to create multiple polylines (lines connected to each other - can be used for MultiPolyLineVisual3D).
The second parameter defines a Point3DCollection that contains positions for multiple lines where the lines are not connected and each line is defined by 2 positions (can be used for MultiLineVisual3D).
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static void CreateText3DLinePositions(
Point3D position,
Vector3D textDirection,
Vector3D upDirection,
string text,
double fontSize,
out List<Point3DCollection> multiPolylinesList,
out Point3DCollection multiLinePositions
)
Parameters
- position Point3D
- top left 3D position of the first character
- textDirection Vector3D
- direction in which the text will be creates as Vector3D
- upDirection Vector3D
- text's up direction as Vector3D
- text String
- text to display
- fontSize Double
- size of the used font
- multiPolylinesList ListPoint3DCollection
- list of Point3DCollection that can be used to create multiple polylines (lines connected to each other - can be used for MultiPolyLineVisual3D)
- multiLinePositions Point3DCollection
- Point3DCollection that contains positions for multiple lines where the lines are not connected and each line is defined by 2 positions (can be used for MultiLineVisual3D).
See Also