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

Class Font

 object --+        
          |        
??.instance --+    
              |    
    SceneObject --+
                  |
                 Font

Font describes how text is displayed.

Instance Methods
 
__init__(...)
__init__( (object)arg1 [, (str)family [, (int)size [, (bool)bold [, (bool)italic]]]]) -> None : Font([family,size,bold,italic])
 
copy(...)
copy( (Font)arg1) -> SceneObject :
 
isBoldToDefault(...)
isBoldToDefault( (Font)arg1) -> bool :
 
isItalicToDefault(...)
isItalicToDefault( (Font)arg1) -> bool :
 
isSizeToDefault(...)
isSizeToDefault( (Font)arg1) -> bool :

Inherited from SceneObject: __reduce__, apply, deepcopy, 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_BOLD
  DEFAULT_ITALIC
  DEFAULT_SIZE
  bold
  family
  italic
  size

Inherited from SceneObject: name

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1 [, (str)family [, (int)size [, (bool)bold [, (bool)italic]]]]) -> None :
    Font([family,size,bold,italic])

    C++ signature :
        void __init__(struct _object * [,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > [,int [,bool [,bool]]]])

Overrides: object.__init__

copy(...)

 

copy( (Font)arg1) -> SceneObject :

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

isBoldToDefault(...)

 

isBoldToDefault( (Font)arg1) -> bool :

    C++ signature :
        bool isBoldToDefault(class PGL::Font {lvalue})

isItalicToDefault(...)

 

isItalicToDefault( (Font)arg1) -> bool :

    C++ signature :
        bool isItalicToDefault(class PGL::Font {lvalue})

isSizeToDefault(...)

 

isSizeToDefault( (Font)arg1) -> bool :

    C++ signature :
        bool isSizeToDefault(class PGL::Font {lvalue})


Property Details

DEFAULT_BOLD

Get Method:
unreachable(...)

DEFAULT_ITALIC

Get Method:
unreachable(...)

DEFAULT_SIZE

Get Method:
unreachable(...)

bold

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

family

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

italic

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

size

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