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.
|public enum Methods||List of methods how display can be cleared.|
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.|
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|