How to set offset of AIS_InteractiveObject?

Hi,
I created a AIS_Point and show its name using AIS_TextLabel, but they're too close. I want to move the label a little bit to the upper right,what should I do?

Attachments: 
Kirill Gavrilov's picture

The simplest way is putting a couple of spaces into text label itself to move it right; it should be also possible using SetLocalTransformation() to specify offset. For changing text alignment (where label is directed from specified point) - consider sing AIS_TextLabel::SetVJustification()/::SetHJustification().

zhang fan's picture

thanks