Public classes

Controller
DisplayModel
DotMatrix
TextToContent

Commands/

   AbsCmd
   AbsCmdPosition
   AbsCmdSpeed
   CallbackCommand
   ClearCommand
   ContentCommand
   PauseCommand
   TextCommand

Displays/

   Display
   Display_3D
   Display_Sprite
   Display_UI


Introduction page

Display_Sprite
Derived from Display


Display where dots are based on flat sprites that change colors when turning on and off.


Properties

public int ColorCountGets or sets the count of colors this display's dots can have.
public Vector2 DotSizeSize of single dot.
public Color OffColorColor of single dot sprite when it is turned to off-state (color 0).
public Color OnColorColor of single dot sprite when it is turned to on-state (color 1).

Methods

public Color GetColor (int state)Gets color used in dot sprites when dot state is set to 'index'.
public void SetColor (int state, Color color)Sets color used in dot sprites when dot state is set to 'index'.

Properties

public int ColorCount

Gets or sets the count of colors this display's dots can have. Default and minimum is two colors.

ValueAmount of different possible color states.


public Vector2 DotSize

Size of single dot.

ValueSize of single dot as Vector2


public Color OffColor

Color of single dot sprite when it is turned to off-state (color 0). This have same effect than using SetColor(0,Color) or GetColor(0,Color) methods and is here for backward compatibility.

ValueDot color when in off-state.


public Color OnColor

Color of single dot sprite when it is turned to on-state (color 1). This have same effect than using SetColor(1,Color) or GetColor(1,Color) methods and is here for backward compatibility.

ValueDot color when in on-state.


Methods

public Color GetColor (int state)

Gets color used in dot sprites when dot state is set to 'index'.

Parametersstate0 is dot 'off' state, 1 is default 'on' state, 2 and above are additional 'on' state colors.

ReturnsColor used.


public void SetColor (int state, Color color)

Sets color used in dot sprites when dot state is set to 'index'.

Parametersstate0 is dot 'off' state, 1 is default 'on' state, 2 and above are additional 'on' state colors.
 colorColor to use.