|
Text3DFactoryCreateCenteredText3D(Point3D, Vector3D, Vector3D, String, Color, Double, Double, Viewport3D) Method |
Create series of 3D lines that represents a 3D text. The 3D text is centered at the centerPosition.
Namespace: Ab3d.ModelsAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public static Model3D CreateCenteredText3D(
Point3D centerPosition,
Vector3D textDirection,
Vector3D upDirection,
string text,
Color textColor,
double fontSize,
double lineThickness,
Viewport3D parentViewport3D
)
Parameters
- centerPosition Point3D
- center position of the text
- 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
- textColor Color
- text color
- fontSize Double
- size of the used font
- lineThickness Double
- thickness of the used lines
- parentViewport3D Viewport3D
- parent parentViewport3D
Return Value
Model3DModel3D that defines the 3D text
See Also