Search
KeyTemplate Methods
 


 Public Methods

  Name Description

draw

Draws the specified key using this template.

getAlterCaseForeground

Gets the color of alter-case characters.

getBackground

Gets the background brush.

getBorder

Gets the Pen used to draw key borders.

getHoverBackground

Gets the background of hovered keys.

getLowerCaseForeground

Gets the color of lower-case characters.

getPressedBackground

Gets the background of pressed keys.

getUpperCaseForeground

Gets the color of upper-case characters.

setAlterCaseForeground

Sets the color of alter-case characters.

setBackground

Sets the background brush.

setBorder

Sets the Pen used to draw key borders.

setHoverBackground

Sets the background of hovered keys.

setLowerCaseForeground

Sets the color of lower-case characters.

setPressedBackground

Sets the background of pressed keys.

setUpperCaseForeground

Sets the color of upper-case characters.

 Protected Methods

  Name Description

drawBackground

Override this method to render custom key background.

drawFrame

Override this method to render custom key border.

 See Also