Vizard 8 » Command Index » Vizard modules » sensics » <sensics:Panel>.addText
8.1

<sensics:Panel>.addText

Add text to the panel

<sensics:Panel>.addText(  
value  
)  
value
Value of the text object

Remarks

This command will add text which will only be visible on the specified panel.

Return Value

VizText object

Example

import sensics
sensics.piSight()

p = sensics.getPanel('LB3')

text = p.addText('LB3',fontSize=64)
text.color(viz.RED)