VolumetricGraphics3DLegend#
- class ansys.stk.core.stkobjects.VolumetricGraphics3DLegend#
Class defining Boundary/Fill legend for volumetric object.
Overview#
Set the x value for the pixel location for the upper left corner of the legend. |
|
Set the y value for the pixel location for the upper left corner of the legend. |
|
Set the percent Translucency for the legend. |
|
Set the color of the legend background. |
|
Set the text to appear at the top of the legend. |
|
Set the precision, or number of digits that should display to the right of the decimal point, with which real numbers should display. |
|
Set the legend numeric notation. A member of the VolumetricLegendNumericNotationType enumeration. |
|
Set the color of the legend text. |
|
Set the legend numeric notation. A member of the VolumetricLevelOrder enumeration. |
|
Set the number of colors per row or column depending on the selected LevelOrder. Number between 1 and 1000. |
|
Set the width of the individual color band. Number between 1 and 100. |
|
Set the height of the individual color band. Number between 1 and 100. |
Import detail#
from ansys.stk.core.stkobjects import VolumetricGraphics3DLegend
Property detail#
- property VolumetricGraphics3DLegend.position_x: int#
Set the x value for the pixel location for the upper left corner of the legend.
- property VolumetricGraphics3DLegend.position_y: int#
Set the y value for the pixel location for the upper left corner of the legend.
- property VolumetricGraphics3DLegend.translucency: float#
Set the percent Translucency for the legend.
- property VolumetricGraphics3DLegend.background_color: Color#
Set the color of the legend background.
- property VolumetricGraphics3DLegend.decimal_digits: int#
Set the precision, or number of digits that should display to the right of the decimal point, with which real numbers should display.
- property VolumetricGraphics3DLegend.notation: VolumetricLegendNumericNotationType#
Set the legend numeric notation. A member of the VolumetricLegendNumericNotationType enumeration.
- property VolumetricGraphics3DLegend.level_order: VolumetricLevelOrder#
Set the legend numeric notation. A member of the VolumetricLevelOrder enumeration.
- property VolumetricGraphics3DLegend.maximum_color_squares: int#
Set the number of colors per row or column depending on the selected LevelOrder. Number between 1 and 1000.