Environment class

Contains environment parameters.

A single object of this type exist - trajtracker.env

Methods and properties:

class trajtracker.Environment
__init__()
mouse

Provides access to the mouse.

TrajTracker will always access the mouse (position and button presses) via this object. By default, this object is a Mouse, which connects with your computer’s mouse. You can replace this object by another class (with the same interface) in order to use alternative input source.

default_log_level

The default logging level for all trajtracker objects. If you change this, only objects created from now on will be affected.

Type:one of the log_xxx constants defined in the “trajtracker” module
screen_size

Get the screen size (width, height)