All Classes and Interfaces

Class
Description
This class provides the functionality of a cancellable event.
A GLFW window rendering surface, providing base GLFW functionality, except framebuffer-related methods.
Base class for rendering context implementations.
Base implementation of Stopwatch interface.
Provides an implementation of VariableStorage.
A 2D hitbox that covers all points.
An intersection of 2D hitboxes.
Represents a lightweight runtime environment for an application.
A thread-local holder for the application context.
Utility methods that help treating an int value as a ARGB-format color.
A set of assets (textures and sounds) with names.
An asset pointer with a name.
A double value that can be updated atomically.
A double array in which elements can be updated atomically.
A float value that can be updated atomically.
An audio manager is responsible for sound loading and managing sound instances.
A universal raster image implementation based on AWT's BufferedImage and ImageIO API.
Pixel accessor for a BufferedImage.
Interface for events that indicate a stage's backdrop change.
This event is fired after a backdrop was changed.
This event is fired before a backdrop is changed.
Base interface for managing OpenAL sound sources.
Enum class representing an OpenAL sound source state.
Enum representing different blending strategies for combining source and destination pixels.
Enum representing how blending operations handle the alpha channel.
A variable storing a boolean value.
Holds data about a sprite's text bubble state.
The type of text bubble.
Several utilities for java.nio Buffer API.
A variable storing a byte value.
Represents a cancellable event.
A variable storing a char value.
This event is fired every when a RenderingContext has been implicitly requested to close (e.g.
Utility class holding public constants.
A ThreadFactory that inherits the AppContext of the creator thread, if any exists.
A stage panel that contains control buttons.
Represents a button controlling state of a stage.
Represents a stage's corner to anchor a control panel to.
Debugging utilities.
Default implementation of AppContext.
Default implementation of EventDispatcher.
A variable storing a double value.
An object mapping effects to their values.
An embedded surface (e.g.
Marker interface for all events, like starting or keyboard/mouse events.
An event dispatcher that can be used to fire/listen to events.
 
Annotation used by EventDispatcher.register(Object) that indicates the annotated method should be registered as a listener in the event dispatcher.
A font provider that loads fonts from a base directory, using this format for locating TTF files:
A variable storing a double value.
Represents a font and its properties.
A builder for conveniently creating Fonts.
A font's postural style.
Provides TrueType fonts for family, weight and posture.
A font's weight (thickness).
Represents a render target to present on a rendering surface.
A GLFW window rendering surface, providing GL framebuffers.
A wrapper for an OpenGL framebuffer.
Maps GLFW key & mouse button codes to public API enums.
Global access to services via the current application context.
An OpenGL render canvas that accepts GLFramebuffers.
An OpenGL shader program wrapper.
A name-based cache for GLShaderProgram instances.
An OpenGL sub-canvas.
A cache for loaded images -> uploaded textures.
A decorator over GLVertexArray, adding transformation matrices.
An OpenGL vertex array object (VAO).
A storage for commonly used vertex arrays.
A graphic effect.
An effect map that stores a Renderable's graphic effects.
Manages rendering contexts and their lifecycle.
Represents the current graphics state of a RenderCanvas.
Graphics-related utilities.
UID generator, from Blockly.
A headless surface; typically uses an offscreen buffer.
Represents a 2D hitbox used for collision and interaction detection.
Thrown when an operation cannot be performed because of the current stopwatch state
An immutable image that can be rendered on a canvas.
 
Base interface for events representing a user input (keyboard, mouse, etc.)
A Stopwatch that uses Instant timestamp calculations
IntBuffer as image accessor, row-major order.
A variable storing an int value.
Represents a key on the keyboard.
Base interface for events representing a keyboard event.
This event is fired when a character is emitted because a key was pressed or some key combination was used.
Base interface for events representing a physical key input.
This event is fired when a key is pressed.
This event is fired when a key is released.
This event is fired when a key was held long enough to be repeated.
An object that knows how to remove a listener from a dispatcher.
A variable storing a long value.
This event is fired when a message is broadcasted (from user code).
Represents a mouse button.
Base interface for events representing a mouse/cursor user input.
Base interface for events representing a mouse button state (pressed/released) change.
This event is fired when a mouse button was clicked on a stage, i.e.
This event is fired when mouse cursor was moved on a stage.
This event is fired when a mouse button was pressed on a stage.
This event is fired when a mouse button was released on a stage.
This event a fired when one of the mouse wheels were scrolled on a stage.
Several other math utilities.
Interface for extracting platform-specific native libraries into the specified directory.
A 2D hitbox that covers no points.
An AutoCloseable that doesn't throw checked exceptions in its NonThrowingAutoCloseable.close() method.
An effect that supports normalizing its values.
A negation of a 2D hitbox.
A variable storing an object.
An off-screen frame buffer (never displayed directly; use OffscreenFramebuffer.createPixelReader() to use its content).
The entry point for creating an OpenAL audio engine.
An OpenGL rendering context bound to a GLFW window.
A graphics manager using OpenGL + GLFW as a GPU-based backend.
A union of 2D hitboxes.
A sound parsed to PCM.
Supported data formats of a PCM sound.
An intermediate representation of a loaded sound (in PCM) which is ready to be converted into any of: a stand-alone SoundBuffer; a list of SoundBuffers; a SoundBufferProvider that generates buffers from the loaded data.
A physical 2-dimensional object with properties like world coordinates, direction, X/Y axis stretching, and a hitbox.
A 2D renderable object with physical properties.
Allows reading pixel data from an image/framebuffer in ARGB format.
Allows modifying pixel data of an image/framebuffer in ARGB format.
Represents a point in 2D space.
A raster image is an image with fixed pixel resolution (e.g.
A renderable object is an object that knows how to draw itself.
A 2D renderable object is a 2-dimensional object with screen bounds, screen translation, rotation, and X/Y axis scaling.
Represents an ID of a renderable object on a stage.
An arbitrary object ID.
A sprite ID.
A canvas for 2D rendering operations.
An extensions interface for RenderCanvas providing additional methods for attaching framebuffers, flushing, etc.
A renderer is an object that can render a specific type of objects.
A simple implementation of Renderer which draws Renderable objects.
An implementation of Renderer which draws Renderable2D objects, applying respective transformations.
An implementation of Renderer which draws a Renderable2D and its hitbox on top.
A registry that maps type -> renderer for that type or supertype.
Represents a graphics environment.
Represents a surface where rendering occurs (e.g.
Feature flags describing capabilities of this surface.
Represents a callback listening to resize events.
Changes the way a physical object should be transformed depending on its direction value.
A SoundBufferProvider that uses a PCM sample buffer as a sound buffer source.
High-quality image scaling using bicubic interpolation.
Thrown by GLShaderProgram's factory methods when shader compilation fails.
Loads shader files, replacing snippet placeholders with actual snippets.
Thrown by GLShaderProgram's factory methods when shader program linking fails.
Represents a GL shader type.
A 2D hitbox matching the given shape's position and bounds.
Similarly to Java's jdk.internal.access.SharedSecrets, this class is a repository of "shared secrets" used to avoid reflection when calling package-private methods in bounds of this module.
A variable storing a short value.
Manages an OpenAL sound buffer.
The data format of a sound buffer.
Provides sound buffers for a streaming sound source.
An iterator over a SoundBufferProvider.
A sound decoder can decode a file, a stream of bytes, or a byte buffer into a ParsedSound (PCM data).
A sound effect.
An effect map that stores sound effects.
A playable sound instance.
A state of a sound instance.
Base class for all Sparkle apps.
The app state.
Initialization configuration for Sparkle.
A general-purpose 2D renderable with Scratch-like API.
 
A stage, containing backdrop, sprites and other renderable objects.
Represents the state of a stage.
 
A factory interface for controlled creation and customization of Stage instances.
Base interface for events that are fired when a stage's state is changed.
This event is fired when the start button is clicked.
This event is fired when the stop button is clicked, or the stage was closed.
A SoundBufferProvider.Iterator that uses the standard Java Iterable and Iterator API.
Manages a static OpenAL sound source, a sound source with only one static buffer.
A stopwatch
Stopwatch state
Manages a streaming OpenAL sound source.
An SVG image is a vector-based format.
Different kinds of threads.
This event is fired every stage loop tick, up to Stage.getFPSLimit() times per second.
A 2D hitbox transformed with an AffineTransform instance.
A transform operation to apply to a matrix.
Multiply by the specified transform matrix.
Rotate by the specified degrees.
Scale by the specified delta.
Translate by the specified delta.
A class used for reifying generic types.
Base interface for all variables stored within a sprite or a stage.
An object that stores variables mapped to IDs.
A vector image is an image defined with vector shapes (shapes with a path), which means it has a variable resolution and can return different pixel data depending on scaling factors.
A vector of a vector image.
Framework version info.
A sound decoder that reads and parses Ogg Vorbis sounds into ParsedSounds.
This class has methods for accurate waiting.
A window rendering surface.