mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0027921: Visualization - add missing Graphic3d_AspectText3d method defining label transparency
This commit is contained in:
@@ -77,6 +77,9 @@ public:
|
||||
//! Modifies the color.
|
||||
void SetColor (const Quantity_Color& theColor) { myColor.SetRGB (theColor); }
|
||||
|
||||
//! Modifies the color.
|
||||
void SetColor (const Quantity_ColorRGBA& theColor) { myColor = theColor; }
|
||||
|
||||
//! Modifies the expansion factor (height/width ratio)
|
||||
//! If the factor is less than 1, the characters will
|
||||
//! be higher than they are wide.
|
||||
@@ -144,6 +147,10 @@ public:
|
||||
//! and the color of background for the TODT_DEKALE TextDisplayType.
|
||||
void SetColorSubTitle (const Quantity_Color& theColor) { myColorSubTitle.SetRGB (theColor); }
|
||||
|
||||
//! Modifies the color of the subtitle for the TODT_SUBTITLE TextDisplayType
|
||||
//! and the color of background for the TODT_DEKALE TextDisplayType.
|
||||
void SetColorSubTitle (const Quantity_ColorRGBA& theColor) { myColorSubTitle = theColor; }
|
||||
|
||||
//! Returns TRUE when the Text Zoomable is on.
|
||||
bool GetTextZoomable() const { return myTextZoomable; }
|
||||
|
||||
|
Reference in New Issue
Block a user