Line |
public class LineWithTextVisual3D : BaseLineVisual3D, ILineCapVisual3D
The LineWithTextVisual3D type exposes the following members.
Name | Description | |
---|---|---|
LineWithTextVisual3D | Constructor | |
LineWithTextVisual3D(String) | Constructor |
Name | Description | |
---|---|---|
EndLineCap | Gets or sets one of the LineCap that is used for end position of the line | |
EndPosition | Gets or sets the line's end position | |
FontSize | Gets or sets a double that represents a size of the used font. | |
StartLineCap | Gets or sets one of the LineCap that is used for start position of the line | |
StartPosition | Gets or sets line's start position | |
Text | Gets or sets the text that is displayed above the line. | |
TextUpDirection | Gets or sets the Vector3D that is pointing in the text's up direction. Default value is (0,1,0). | |
UsedTextBlockVisual3D | Gets a TextBlockVisual3D that is used to show the text. This property is set only when UseTextBlockVisual3D is true. | |
UseTextBlockVisual3D | 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. |
Name | Description | |
---|---|---|
CreateModel |
Creates this Model3D
(Overrides BaseVisual3DCreateModel) |
Name | Description | |
---|---|---|
EndPositionProperty | EndPositionProperty | |
FontSizeProperty | FontSizeProperty | |
StartPositionProperty | StartPositionProperty | |
TextProperty | TextProperty | |
TextUpDirectionProperty | TextUpDirectionProperty | |
UseTextBlockVisual3DProperty | UseTextBlockVisual3DProperty |
Name | Description | |
---|---|---|
DumpHierarchy |
Display details about the hierarchy of Visual3D children to Debug console (for example to Visual Studio's Immediate window).
(Defined by Extensions) | |
ForEachGeometryModel3D |
Performs the specified action on each GeometryModel3D inside the rootModelVisual3D.
(Defined by Extensions) | |
ForEachVisual3D |
Performs the specified action on each ModelVisual3D inside the rootModelVisual3D.
(Defined by Extensions) | |
GetName |
Gets name of the Visual3D that was previously set by SetName extension method.
(Defined by Extensions) | |
SetName |
Sets Name property to Visual3D. Note that if name is not correct for WPF, it can be corrected (name must start with a letter or the underscore character (_), and must contain only letters, digits, or underscores).
In this case the SetName method will set the corrected name to the object and return false (in this case you can call GetName to get the corrected name). True is returned when the original name is set to the object.
(Defined by Extensions) |