Skip to content

DefaultKeyboardFocusManagerSprite

Extends

  • Sprite

Implements

Constructors

new DefaultKeyboardFocusManagerSprite()

new DefaultKeyboardFocusManagerSprite(padding, outlineOptions): DefaultKeyboardFocusManagerSprite

Parameters

padding: number= DefaultKeyboardFocusManagerSprite.PADDING

outlineOptions: ILineStyleOptions= undefined

Returns

DefaultKeyboardFocusManagerSprite

Overrides

Sprite.constructor

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:15

Properties

COLOR

static COLOR: number = 0xff0000

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:8


LINE_WIDTH

static LINE_WIDTH: number = 2

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:10


PADDING

static PADDING: number = 4

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:9

Accessors

target

get target(): undefined | IFocusable

Returns

undefined | IFocusable

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:26

Methods

hide()

hide(pOnComplete?): void

Parameters

pOnComplete?

Returns

void

Implementation of

IKeyboardFocus.hide

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:35


redraw()

redraw(): void

Returns

void

Implementation of

IKeyboardFocus.redraw

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:47


show()

show(pFocusable): void

Parameters

pFocusable: IFocusable

Returns

void

Implementation of

IKeyboardFocus.show

Source

src/input/DefaultKeyboardFocusManagerSprite.ts:30