Settings for a UISpriteElement: the Sprite settings for its
image, plus the bounce shared by every UI element.
Type Declaration
[key: string]:any
Optionalenabled?: boolean
Whether the element starts turned on.
Default
true
image: any
The image: a loader key, an image, or a TextureAtlas (with
region). Every other Sprite setting is accepted too:
region, framewidth, frameheight, anchorPoint, tint...
Settings for a UISpriteElement: the Sprite settings for its image, plus the bounce shared by every UI element.