Package openalea :: Package plantgl :: Package scenegraph :: Module _pglsg :: Class Text
[frames] | no frames]

Class Text

 object --+            
          |            
??.instance --+        
              |        
    SceneObject --+    
                  |    
           Geometry --+
                      |
                     Text

Text with font. It support display in screen or world coordinates.

Instance Methods
 
__init__(...)
__init__( (object)arg1, (str)string [, (Vector3)position [, (bool)screencoordinates [, (Font)fontstyle]]]) -> None : Text(str string[, Vector3 position, bool screencoordinates, Font fontstyle])
 
copy(...)
copy( (Text)arg1) -> SceneObject :
 
isFontStyleToDefault(...)
isFontStyleToDefault( (Text)arg1) -> bool :
 
isPositionToDefault(...)
isPositionToDefault( (Text)arg1) -> bool :
 
isScreenCoordinatesToDefault(...)
isScreenCoordinatesToDefault( (Text)arg1) -> bool :

Inherited from Geometry: deepcopy, isACurve, isASurface, isAVolume, isExplicit

Inherited from SceneObject: __reduce__, apply, getId, getName, isNamed, isValid, setName

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  __instance_size__ = 12

Inherited from SceneObject: __safe_for_unpickling__

Properties
  DEFAULT_FONT
  DEFAULT_POSITION
  DEFAULT_SCREEN_COORDINATES
  fontstyle
  position
  screencoordinates
  string

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (str)string [, (Vector3)position [, (bool)screencoordinates [, (Font)fontstyle]]]) -> None :
    Text(str string[, Vector3 position, bool screencoordinates, Font fontstyle])

    C++ signature :
        void __init__(struct _object *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > [,class TOOLS::Vector3 [,bool [,class TOOLS::RefCountPtr<class PGL::Font>]]])

Overrides: object.__init__

copy(...)

 

copy( (Text)arg1) -> SceneObject :

    C++ signature :
        class TOOLS::RefCountPtr<class PGL::SceneObject> copy(class PGL::Text {lvalue})

isFontStyleToDefault(...)

 

isFontStyleToDefault( (Text)arg1) -> bool :

    C++ signature :
        bool isFontStyleToDefault(class PGL::Text {lvalue})

isPositionToDefault(...)

 

isPositionToDefault( (Text)arg1) -> bool :

    C++ signature :
        bool isPositionToDefault(class PGL::Text {lvalue})

isScreenCoordinatesToDefault(...)

 

isScreenCoordinatesToDefault( (Text)arg1) -> bool :

    C++ signature :
        bool isScreenCoordinatesToDefault(class PGL::Text {lvalue})


Property Details

DEFAULT_FONT

Get Method:
unreachable(...)

DEFAULT_POSITION

Get Method:
unreachable(...)

DEFAULT_SCREEN_COORDINATES

Get Method:
unreachable(...)

fontstyle

Get Method:
unreachable(...)
Set Method:
unreachable(...)

position

Get Method:
unreachable(...)
Set Method:
unreachable(...)

screencoordinates

Get Method:
unreachable(...)
Set Method:
unreachable(...)

string

Get Method:
unreachable(...)
Set Method:
unreachable(...)