Display modes
This module defines available modes for use with TEXT files
(alphasign.text.Text).
The following display modes are defined:
- ROTATE
- HOLD
- ROLL_UP
- ROLL_DOWN
- ROLL_LEFT
- ROLL_RIGHT
- WIPE_UP
- WIPE_DOWN
- WIPE_LEFT
- WIPE_RIGHT
- SCROLL
- AUTOMODE
- ROLL_IN
- ROLL_OUT
- WIPE_IN
- WIPE_OUT
- COMPRESSED_ROTATE (works only on certain sign models)
- EXPLODE (Alpha 3.0 protocol only)
- CLOCK (Alpha 3.0 protocol only)
The following special modes are defined:
- TWINKLE
- SPARKLE
- SNOW
- INTERLOCK
- SWITCH
- SLIDE (only Betabrite 1036)
- SPRAY
- STARBURST
- WELCOME
- SLOT_MACHINE
- NEWS_FLASH (only Betabrite 1036)
- TRUMPET_ANIMATION (only Betabrite (1036)
- CYCLE_COLORS (only AlphaEclipse 3600)
Special graphics are modes which display graphics before the message. The
following special graphics are defined:
- THANK_YOU
- NO_SMOKING
- DONT_DRINK_DRIVE
- RUNNING_ANIMAL
- FISH_ANIMATION
- FIREWORKS
- TURBO_CAR
- BALLOON_ANIMATION
- CHERRY_BOMB
Examples
Make a text file stationary on the sign:
msg = alphasign.Text("hello world", label="A", mode=alphasign.modes.HOLD)
To change the mode for an already created text file, do:
msg.mode = alphasign.modes.ROLL_IN