ISpritePrivate

Type interface

Inheritance

ISpritePrivate extends IEntityPrivate.

ISpritePrivate is extended by IGraphicsPrivate, IContainerPrivate, IPicturePrivate.

Properties

focusable
#

Type undefined | false | true

If set to false, its tabindex will be set to -1, so it does not get focused with TAB, regardless whether its public setting focusable is set to true.

@since 5.3.16

showingTooltip
#

Type undefined | false | true

Is element currently showing a tooltip?

tooltipTarget
#

Type Graphics

An element tooltip should inherit its colors from.

trustBounds
#

Type undefined | false | true

If set to true, the sprite will check if a mouse pointer is within its bounds before dispatching pointer events.

This helps to solve ghost tooltips problem that sometimes appear while moving the pointer over interactive objects.

This is set to true by default on Rectangle and Circle.

@since 5.5.0