buttonHighlighted

abstract fun buttonHighlighted(image: DrawImage, border: Int, centerMode: NineSliceCenterMode)(source)

Supplies the highlighted 200 by 20 Button sprite.

Parameters

image

immutable sprite pixels.

border

positive horizontal border width that leaves a nonempty 200-pixel source center.

centerMode

typed center sampling policy.

Throws

when the slot, image size, or border is invalid.

when called from another thread or after the builder callback ends.