Click or drag to resize
AB4D logo

Text3DFactory Class

Text3DFactory class contains static methods to crete 3D text.
Inheritance Hierarchy
SystemObject
  Ab3d.ModelsText3DFactory

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static class Text3DFactory

The Text3DFactory type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreateCenteredText3D(Point3D, Vector3D, Vector3D, String, Color, Double, Double, Viewport3D) Create series of 3D lines that represents a 3D text. The 3D text is centered at the centerPosition.
Public methodStatic memberCreateCenteredText3D(Point3D, Vector3D, Vector3D, String, Color, Double, Double, Visual3D) Create series of 3D lines that represents a 3D text. The 3D text is centered at the centerPosition.
Public methodStatic memberCreateText3D(Point3D, Vector3D, Vector3D, String, Color, Double, Double, Viewport3D) Create series of 3D lines that represents a 3D text.
Public methodStatic memberCreateText3D(Point3D, Vector3D, Vector3D, String, Color, Double, Double, Visual3D) Create series of 3D lines that represents a 3D text.
Public methodStatic memberCreateText3DLinePositions 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).
Public methodStatic memberMeasureText MeasureText returns the Size of the text with the specified fontSize.
Top
See Also