Creates a new animated image component.
See: Component.clean()
Fades in the animation.
Fades out the animation.
Scales and fits the image into a specific size.
See: Component.refresh()
See: Component.render()
See: Component.updatePosition()
See: Component.updateSize()
Gets the alpha channel of the animation.
Sets the alpha channel of the animation.
Gets the animation speed.
Sets the animation speed.
Gets a boolean determining whether the animation is full-screen or not.
Sets a boolean determining whether the animation is full-screen or not. If not initialized with width/height from a layer then refresh() must manually be set.
A handler for when the animation has faded in.
A handler for when the animation has faded out.
A handler for when the animation is fading in.
A handler for when the animation is fading out.
Gets the position.
Sets the position.
Gets the x coordinate.
Gets the y coordinate.
Gets the size.
Sets the size.
Gets the width.
Gets the height.
Checks whether the component intersects with a specific point.
Updates the internal position. Use this to avoid event handling.
Handler for global mouse press events.
Handler for global mouse release events.
Handler for global mouse movement events.
Handler for global key press events.
Handler for global key release events.
Handler for mouse press events.
Handler for mouse release events.
Handler for mouse movement events.
Handler for key press events.
Handler for key release events.
Will render the component. Called during every frame render.
Refreshes the component with a given width ahd height. This is usually the layer size which is usually the window size.
Called when the size of the component updates.
Called when the position of the component updates.
Cleans the component for its native objects.
An animated image component.