AIS_TextLabel with background?

Hello,

i am looking for the ability to render some text with a semi-transparent background (or background in general). I am not able to find any method on AIS_Textlabel which would fulfill that requirement.

Is it possible? I want the text to be visible independently from the 3D Models that are also shown on the screen.

Robert W.'s picture

Ok, for those who come here with a similar problem:

An AIS_TextLabel object hat a DisplayType (from an enum Aspect_TypeOfDisplayText) with a value of Aspect_TODT_SUBTITLE. This enables setting the "ColorSubTitle" (on AIS_TextLabel) which is a background color for the text.

Maybe this post will save someone some time.