Creates a new image component.
See: Component.clean()
Fades in the image.
Fades out the image.
See: Component.fitToSize()
See: Component.refresh()
See: Component.render()
See: Component.updatePosition()
See: Component.updateSize()
Gets the alpha channel.
Sets the alpha channel.
Gets a boolean determining whether the image is full-screen or not.
Sets a boolean determining whether the image is full-screen or not.
A handler for when the image has faded in.
A handler for when the image has faded out.
A handler for when the image is fading in.
A handler for when the image 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.
Wrapepr around an image component.