Click or drag to resize
AB4D logo

AxesBoxVisual3D Properties

The AxesBoxVisual3D type exposes the following members.

Properties
 NameDescription
Public propertyAdjustFirstAndLastLabelPositions When true, then the last label is moved down to prevent overlapping the last label with adjacent axis. Default value is false.
Public propertyAxisLineColor Gets or sets the color of the axis line.
Public propertyAxisLineThickness Gets or sets the thickness of the axis line in screen coordinates. Default value is 2.
Public propertyAxisShowingStrategy Gets or sets one of AxisShowingStrategies that defines how the axes will be automatically shown, hidden and positioned (StartAxisPosition and EndAxisPosition will be changed). Default value is FrontFacingPlanes.
Public propertyAxisTitleBrush Gets or sets the brush of the value labels text.
Public propertyAxisTitleFontSize Gets or sets the size of the value axis text. Default value is 6.
Public propertyAxisTitleFontWeight Gets or sets the FontWeight of the axis title text.
Public propertyBackConnectionLinesVisual3D Gets a MultiLineVisual3D that is used to show 3D lines that connect major ticks in the bottom and back rectangles.
Public propertyBottomRectangleVisual3D Gets a RectangleVisual3D that is used to show the bottom rectangle.
Public propertyCamera Gets or sets an Ab3d Camera that is used by this AxesBoxVisual3D.
Public propertyCenterPosition Gets or sets the center position of the 3D box used to create the lines
Public propertyConnectionLinesColor Gets or sets the color of the connection lines that show major tick value on the bottom and back rectangles. Default value is Black.
Public propertyConnectionLinesThickness Gets or sets the thickness of the connection lines that show major tick value on the bottom and back rectangles. Default value is 1.
Public propertyFontFamily Gets or sets the FontFamily of the text.
Public propertyIs3DTextShown Is3DTextShown specifies if the 3D axes are shows as AxisWith3DLabelsVisual3D (when true; by default) or as AxisWithOverlayLabelsVisual3D (when false).
Public propertyIsAutomaticallySubscribedToCameraChanges When true (by default) the Update method is automatically called on each change of the Camera.
Public propertyIsWireBoxFullyClosed IsWireBoxFullyClosed specifies if the the 3D lines are also drawn to the top front corner of the box to make the wire box fully closed. Default value is false. This draws only the side and back lines of the wire box and make the box appear opened.
Public propertyIsXAxis1Visible Gets or sets a Boolean that specified is XAxis1 is visible. This is a shortcut for XAxis1.IsVisible property.
Public propertyIsXAxis2Visible Gets or sets a Boolean that specified is XAxis2 is visible. This is a shortcut for XAxis2.IsVisible property.
Public propertyIsYAxis1Visible Gets or sets a Boolean that specified is YAxis1 is visible. This is a shortcut for YAxis1.IsVisible property.
Public propertyIsYAxis2Visible Gets or sets a Boolean that specified is YAxis2 is visible. This is a shortcut for YAxis2.IsVisible property.
Public propertyIsZAxis1Visible Gets or sets a Boolean that specified is ZAxis1 is visible. This is a shortcut for ZAxis1.IsVisible property. When this property is set by the user, then AxesBoxVisual3D will not change the ZAxis1 visibility even when AxisShowingStrategy is not None.
Public propertyIsZAxis2Visible Gets or sets a Boolean that specified is ZAxis2 is visible. This is a shortcut for ZAxis2.IsVisible property. When this property is set by the user, then AxesBoxVisual3D will not change the ZAxis1 visibility even when AxisShowingStrategy is not None.
Public propertyMajorTicksLength Gets or sets a double value that defines the length of major tick lines. Default value is 5. When set to 0, then major tick lines are not shown (but labels are still shown).
Public propertyMinorTicksLength Gets or sets a double value that defines the length of minor tick lines. Default value is 2.5. When set to 0, then minor tick lines are not shown.
Public propertyOverlayCanvas Gets or sets a Canvas that will show the axis numbers
Public propertyShowBackConnectionLines Gets or sets a Boolean that specifies if connection lines that connect major ticks on X and Y axes are shown in the two back rectangle. Default value is false. To show the lines the ShowXAxisConnectionLines and ShowYAxisConnectionLines must be true.
Public propertyShowBottomConnectionLines Gets or sets a Boolean that specifies if connection lines that connect major ticks on X and Y axes are shown in the bottom rectangle. Default value is true. To show the lines the ShowXAxisConnectionLines and ShowYAxisConnectionLines must be true.
Public propertyShowXAxisConnectionLines Gets or sets a Boolean that specifies if vertical connection lines that show major ticks on X axis are shown in the background rectangles. Default value is true. To define where to show the connection lines set ShowBackConnectionLines or ShowBackConnectionLines to true.
Public propertyShowYAxisConnectionLines Gets or sets a Boolean that specifies if vertical connection lines that show major ticks on Y axis are shown in the background rectangles. Default value is true. To define where to show the connection lines set ShowBackConnectionLines or ShowBackConnectionLines to true.
Public propertyShowZAxisConnectionLines Gets or sets a Boolean that specifies if horizontal connection lines that show major ticks on Z axis are shown in the background rectangles. Default value is true.
Public propertySize Gets or sets the size of the 3D box used to create the lines. Default value is (100, 100, 100).
Public propertyTicksLineColor Gets or sets the color of ticks lines.
Public propertyTicksLineThickness Gets or sets the thickness of the ticks lines in screen coordinates. Default value is 1.
Public propertyTitleRenderBitmapSize Gets or sets a Size that is used as the RenderBitmapSize in the TextBlockVisual3D object that is used to render the axes titles. When Ab3d.DXEngine assembly is present in the application, then the default value is set to (512, 64); otherwise the default value is Size.Empty that uses VisualBrush to render the text. This property sets the TitleRenderBitmapSize for all axes. To set Size for rendered value labels set the ValueLabelsRenderBitmapSize.
Public propertyValueDisplayCulture Gets the culture that is used to format value labels. Default value is null (using current culture).
Public propertyValueDisplayFormatString Gets or sets the string that defines the format string that is used to format the displayed values. When this string is empty, then values are not displayed. Default value is "#,##0". Culture that is used to format the value is defined by the ValueDisplayCulture property (InvariantCulture by default).
Public propertyValueLabelsBrush Gets or sets the brush of the value labels text.
Public propertyValueLabelsFontSize Gets or sets the size of the value labels text. Default value is 6.
Public propertyValueLabelsFontWeight Gets or sets the FontWeight of the value labels text.
Public propertyValueLabelsPadding Gets or sets a double value that how much are the value labels texts positioned away from the major tick markers. Default value is 3.
Public propertyValueLabelsRenderBitmapSize Gets or sets a Size that is used as the RenderBitmapSize in all used TextBlockVisual3D objects that display value labels. When Ab3d.DXEngine assembly is present in the application, then the default value is set to (128, 64); otherwise the default value is Size.Empty that uses VisualBrush to render the text. This property sets the ValueLabelsRenderBitmapSize for all axes. To set Size for rendered axis title set the TitleRenderBitmapSize.
Public propertyWireBoxLinesVisual3D Gets a MultiLineVisual3D that is used to show major 3D lines for wire box. When IsWireBoxFullyClosed is false, then only the two back rectangles (between both Z axes) are rendered; when true all 3D lines are shown.
Public propertyXAxis1 Gets the AxisWith3DLabelsVisual3D or AxisWithOverlayLabelsVisual3D that is used to render first x axis.
Public propertyXAxis1Title Gets or sets the title for XAxis1. This is a shortcut for XAxis1.AxisTitle property.
Public propertyXAxis2 Gets the AxisWith3DLabelsVisual3D or AxisWithOverlayLabelsVisual3D that is used to render second x axis.
Public propertyXAxis2Title Gets or sets the title for XAxis2. This is a shortcut for XAxis2.AxisTitle property.
Public propertyYAxis1 Gets the AxisWith3DLabelsVisual3D or AxisWithOverlayLabelsVisual3D that is used to render first y axis.
Public propertyYAxis1Title Gets or sets the title for YAxis1. This is a shortcut for YAxis1.AxisTitle property.
Public propertyYAxis2 Gets the AxisWith3DLabelsVisual3D or AxisWithOverlayLabelsVisual3D that is used to render second y axis.
Public propertyYAxis2Title Gets or sets the title for YAxis2. This is a shortcut for YAxis2.AxisTitle property.
Public propertyZAxis1 Gets the AxisWith3DLabelsVisual3D or AxisWithOverlayLabelsVisual3D that is used to render first z axis.
Public propertyZAxis1Title Gets or sets the title for ZAxis1. This is a shortcut for ZAxis1.AxisTitle property.
Public propertyZAxis2 Gets the AxisWith3DLabelsVisual3D or AxisWithOverlayLabelsVisual3D that is used to render second z axis.
Public propertyZAxis2Title Gets or sets the title for ZAxis2. This is a shortcut for ZAxis2.AxisTitle property.
Top
See Also