Click or drag to resize
AB4D logo

LineWithTextVisual3D Properties

The LineWithTextVisual3D type exposes the following members.

Properties
 NameDescription
Public propertyEndLineCap Gets or sets one of the LineCap that is used for end position of the line
Public propertyEndPosition Gets or sets the line's end position
Public propertyFontSize Gets or sets a double that represents a size of the used font.
Public propertyStartLineCap Gets or sets one of the LineCap that is used for start position of the line
Public propertyStartPosition Gets or sets line's start position
Public propertyText Gets or sets the text that is displayed above the line.
Public propertyTextUpDirection Gets or sets the Vector3D that is pointing in the text's up direction. Default value is (0,1,0).
Public propertyUsedTextBlockVisual3D Gets a TextBlockVisual3D that is used to show the text. This property is set only when UseTextBlockVisual3D is true.
Public propertyUseTextBlockVisual3D Gets or sets a Boolean that specifies if LineWithTextVisual3D is using 3D lines (when false) or TextBlockVisual3D (when true) to show 3D text. Default value is false. Using TextBlockVisual3D provides much more text rendering options and allows using any font but may produce some problems because of showing semi-transparent texture (sorting objects by camera distance; or using Ab3d.DXEngine and alpha-clip threshold). When true, then the used instance of TextBlockVisual3D is set to the UseTextBlockVisual3D property.
Top
See Also