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 Methods | List of methods how display can be cleared. |
Constructors
Enums
public enum Methods List of methods how display can be cleared. Items | MoveLeft | Move everything left until display is clear. Note that this method doesn't work correctly in displays that have colons. | | MoveRight | Move everything right until display is clear. Note that this method doesn't work correctly in displays that have colons. | | DigitByDigitFromLeft | Clear display digit by digit starting from left. | | DigitByDigitFromRight | Clear 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. Parameters | startIndex | Index of first digit to clear. | | count | How many digits to clear. |
public ClearCommand (Methods method, float charactersPerSecond) Creates new clear with specified effect. Parameters | method | Method how display is cleared, one of the values from enum Methods | | charactersPerSecond | Speed how fast display is cleared, in characters per second |
|