invalidateKey

open fun invalidateKey(keyIndex: Int)

Invalidates a key so that it will be redrawn on the next repaint. Use this method if only one key is changing it's content. Any changes that affect the position or size of the key may not be honored.

Parameters

keyIndex

the index of the key in the attached Keyboard.

See also