Vizard 7 » Command Index » Vizard objects » node3d » <node3d:text3d>.setBackdrop
7.7

<node3d:text3d>.setBackdrop

Set the backdrop mode of the text

<node3d:text3d>.setBackdrop(  
mode  
)  
mode
The backdrop mode for the text object

Remarks

The backdrop mode can be one of the following values:

Backdrop Modes

viz.BACKDROP_NONE

No backdrop

viz.BACKDROP_RIGHT_BOTTOM

Offset backdrop towards the bottom right

viz.BACKDROP_RIGHT_CENTER

Offset backdrop towards the right side

viz.BACKDROP_RIGHT_TOP

Offset backdrop toward the top right

viz.BACKDROP_CENTER_BOTTOM

Offset backdrop towards the bottom

viz.BACKDROP_CENTER_TOP

Offset backdrop towards the top

viz.BACKDROP_LEFT_BOTTOM

Offset backdrop towards the bottom left

viz.BACKDROP_LEFT_CENTER

Offset backdrop towards the left

viz.BACKDROP_LEFT_TOP

Offset backdrop towards the top left

viz.BACKDROP_OUTLINE

Outline the text

viz.BACKDROP_BOX

Display filled bounding box behind text



The default mode is viz.BACKDROP_NONE

Return Value

None

See also

<node3d:text3d>.getBackdrop
<node3d:text3d>.getBackdropColor
<node3d:text3d>.getBackdropOffset
<node3d:text3d>.setBackdropColor
<node3d:text3d>.setBackdropOffset