VisionEgg.Text.GlutTextBase

Package VisionEgg :: Module Text :: Class GlutTextBase |
[frames] | no frames]

# Class GlutTextBase

source code

             object --+
                      |
    ClassWithParameters --+
                          |
              Core.Stimulus --+
                              |
                             GlutTextBase

    DEPRECATED. Base class: don't instantiate this class directly.

    Base class that defines the common interface between the
    other glut-based text stimuli.

    Parameters
    ==========
    color     -- (AnyOf(Sequence3 of Real or Sequence4 of Real))
                 Default: (1.0, 1.0, 1.0)
    lowerleft -- (Sequence2 of Real)
                 Default: (320, 240)
    on        -- (Boolean)
                 Default: True
    text      -- (String)
                 Default: the string to display

Instance Methods
__init__(self, **kw) Instantiate and get ready to draw. | source code
Inherited from `Core.Stimulus`: `draw` Inherited from `ClassWithParameters`: `__getstate__`, `__setstate__`, `get_specified_type`, `is_constant_parameter`, `set`, `verify_parameters` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables
| parameters_and_defaults = `{'on':(True, ve_types.Boolean), 'col`...``
Inherited from `ClassWithParameters`: `__safe_for_unpickling__`, `constant_parameters_and_defaults`

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, **kw) (Constructor) | source code
    Instantiate and get ready to draw.

    Set parameter values and create anything needed to draw the
    stimulus including OpenGL state variables such display lists
    and texture objects.
Overrides: Core.Stimulus.__init__ (inherited documentation)

Class Variable Details

  ### parameters_and_defaults Value:
      {'on':(True, ve_types.Boolean), 'color':((1.0, 1.0, 1.0), ve_types.Any
      Of(ve_types.Sequence3(ve_types.Real), ve_types.Sequence4(ve_types.Real
      ))), 'lowerleft':((320, 240), ve_types.Sequence2(ve_types.Real)), 'tex
      t':('the string to display', ve_types.String)}