Public classes


Scripts/

   SDController
   SegmentDisplay
   SegmentDisplayImage
   SegmentDisplaySprite
   SingleDigit
   SingleSegment

Scripts/Commands/

      AddTextCommand
      CallbackCommand
      ClearCommand
      FillCommand
      PauseCommand
      ScrollTextCommand
      SetTextCommand


Introduction page

ClearCommand
Derived from AbsSDCommand


Command to clear the display. Clearing may be instant or happen with some effect like scrolling all the content away from display, or clearing display character by character.


Enums

public enum MethodsList of methods how display can be cleared.

Constructors

public ClearCommand ()Creates new clear command that will instantly clear the display.
public ClearCommand (int startIndex, int count)Creates new clear command that will instantly clear part of display.
public ClearCommand (Methods method, float charactersPerSecond)Creates new clear with specified effect.

Enums

public enum Methods

List of methods how display can be cleared.

ItemsMoveLeftMove everything left until display is clear. Note that this method doesn't work correctly in displays that have colons.
 MoveRightMove everything right until display is clear. Note that this method doesn't work correctly in displays that have colons.
 DigitByDigitFromLeftClear display digit by digit starting from left.
 DigitByDigitFromRightClear display digit by digit starting from right.


Constructors

public ClearCommand ()

Creates new clear command that will instantly clear the display.


public ClearCommand (int startIndex, int count)

Creates new clear command that will instantly clear part of display.

ParametersstartIndexIndex of first digit to clear.
 countHow many digits to clear.


public ClearCommand (Methods method, float charactersPerSecond)

Creates new clear with specified effect.

ParametersmethodMethod how display is cleared, one of the values from enum Methods
 charactersPerSecondSpeed how fast display is cleared, in characters per second