parameters: (self, vobj)
return_statement: return action.getBoundingBox().getSize().getValue()
docstring: Return the bounding box of the text element.
docstring_summary: Return the bounding box of the text element.
docstring_tokens: Return the bounding box of the text element .
function: def get_text_size(self, vobj):
          """Return the bounding box of the text element."""
          if vobj.DisplayMode == "3D text":
              node = self.node3dtxt
          else:
              node = self.node2dtxt
  
          region = coin.SbViewportRegion()
          action = coin.SoGetBoundingBoxAction(region)
          node.getBoundingBox(action)
  
          return action.getBoundingBox().getSize().getValue()
function_tokens: def get_text_size ( self , vobj ) : if vobj . DisplayMode == "3D text" : node = self . node3dtxt else : node = self . node2dtxt region = coin . SbViewportRegion ( ) action = coin . SoGetBoundingBoxAction ( region ) node . getBoundingBox ( action ) return action . getBoundingBox ( ) . getSize ( ) . getValue ( )