Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- accessInstance() - Static method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
-
Returns the single currently active
JFXRenderer
instance. - add(String, Image, Region) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
- addChild(Pixi.DisplayObject) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- addChild(Graphic2D) - Method in class nl.colorize.multimedialib.stage.Container
-
Adds the specified graphic to this container.
- addChild(Graphic2D, float, float) - Method in class nl.colorize.multimedialib.stage.Container
-
Convenience method that adds the specified graphics to this container, then moved the graphics' position to the specified offset.
- addChild(Graphic2D, Point2D) - Method in class nl.colorize.multimedialib.stage.Container
-
Convenience method that adds the specified graphics to this container, then moved the graphics' position to the specified offset.
- addChildContainer() - Method in class nl.colorize.multimedialib.stage.Container
-
Convenience method that creates a child container, adds it as a child to this container, then returns the created child container.
- addClickHandler(Supplier<Rect>, Runnable) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- addClickHandler(Rect, Runnable) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- addClickHandler(Graphic2D, Runnable) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- addCompletionHandler(Runnable) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- addContainer() - Method in class nl.colorize.multimedialib.stage.Stage
-
Creates a new container, then adds it to the root of the scene graph.
- addContainer(String) - Method in class nl.colorize.multimedialib.stage.Stage
-
Creates a new container with the specified name, then adds it to the root of the scene graph.
- addFrame(Image, float) - Method in class nl.colorize.multimedialib.stage.Animation
- addFrameHandler(Runnable) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- addFrameHandler(Updatable) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- addGraphics(String, Animation) - Method in class nl.colorize.multimedialib.stage.Sprite
-
Adds graphics to this sprite.
- addGraphics(String, Image) - Method in class nl.colorize.multimedialib.stage.Sprite
-
Adds graphics to this sprite.
- addMarios() - Method in class nl.colorize.multimedialib.tool.Demo2D
- addPosition(float, float) - Method in class nl.colorize.multimedialib.stage.Transform
- addPosition(float, float, float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- addRotation(float) - Method in class nl.colorize.multimedialib.stage.Transform
- addRotation(float, float, float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- addTimelineHandler(Timeline, Consumer<Float>) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a frame handler that will update the specified timeline during every frame update, then invokes the callback function based on the timeline's new value.
- addTimerHandler(Timer, Consumer<Float>) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a frame handler that will update the specified timer during every update, then invokes the callback function based on the timer's new value.
- Align - Enum Class in nl.colorize.multimedialib.stage
-
Describes the alignment with which a text should be displayed.
- allowTransitions(BiPredicate<S, S>) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Restricts state transitions based on the specified predicate.
- allowTransitions(TupleList<S, S>) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Restricts state transitions to only those included in the specified list.
- Angle - Record Class in nl.colorize.multimedialib.math
-
Immutable angle in degrees, in the range between 0° and 360°.
- Angle(float) - Constructor for record class nl.colorize.multimedialib.math.Angle
-
Creates an instance of a
Angle
record class. - angleTo(Point2D) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the angle in degrees from this point towards the specified other point.
- Animation - Class in nl.colorize.multimedialib.stage
-
2D sprite animation that shows a number of images in sequence.
- Animation(boolean) - Constructor for class nl.colorize.multimedialib.stage.Animation
- Animation(List<Image>, float, boolean) - Constructor for class nl.colorize.multimedialib.stage.Animation
- Animation(Image) - Constructor for class nl.colorize.multimedialib.stage.Animation
- append(Animation) - Method in class nl.colorize.multimedialib.stage.Animation
-
Returns a new animation that contains all frames of this animation followed by all frames of the specified other animation.
- applyMask(TeaImage, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
-
Creates an alternative version of the image with the specified mask color applied to every non-transparent pixel.
- around(float, float) - Static method in record class nl.colorize.multimedialib.math.Rect
-
Returns a rectangle that has the specified width and height, with its X and Y coordinates positioned so that the origin
(0, 0)
ends up as the center of the rectangle. - around(float, float, float, float) - Static method in record class nl.colorize.multimedialib.math.Rect
-
Returns a rectangle that has X and Y coordinates so that the specified point becomes its center.
- around(Point2D, float, float) - Static method in record class nl.colorize.multimedialib.math.Rect
-
Returns a rectangle that has X and Y coordinates so that the specified point becomes its center.
- at(float) - Static method in class nl.colorize.multimedialib.scene.Timer
-
Factory method that creates a timer which has its position set to the specified value.
- at(float, float) - Static method in class nl.colorize.multimedialib.scene.Timer
-
Factory method that creates a timer with the specified duration, which has its position set to the specified value.
- atlasName - Variable in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- attach(Runnable) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Wraps a
Runnable
so that is acts as a sub-scene for the currently active scene. - attach(Scene) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Attaches a sub-scene to the currently active scene.
- attach(SceneContext) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Attaches this effect to the specified scene context.
- attach(Updatable) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Attaches an
Updatable
to act as a sub-scene for the currently active scene. - attachGlobal(Scene) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Attaches a scene that is *not* tied to the currently active scene, and will remain active for the rest of the application.
- attachProgressBar(SceneContext) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- Audio - Interface in nl.colorize.multimedialib.stage
-
Describes an audio clip that has been loaded by the renderer.
- AWTImage - Class in nl.colorize.multimedialib.renderer.java2d
-
Implements the
Image
interface using anBufferedImage
, which is part of the standard library. - AWTImage(BufferedImage, FilePointer) - Constructor for class nl.colorize.multimedialib.renderer.java2d.AWTImage
- AWTInput - Class in nl.colorize.multimedialib.renderer.java2d
-
Input device that uses AWT to capture mouse and keyboard events.
- AWTInput(Canvas) - Constructor for class nl.colorize.multimedialib.renderer.java2d.AWTInput
B
- b() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns the value of the
b
record component. - B - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- BACKSPACE - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- balanced() - Static method in interface nl.colorize.multimedialib.renderer.ScaleStrategy
-
Tries to find a balance between the behavior of
ScaleStrategy.fit()
andScaleStrategy.scale()
. - beginFill(int, float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- bind(Graphics2D) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- bindEventHandlers() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- BLACK - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- BLUE - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- Browser - Class in nl.colorize.multimedialib.renderer.teavm
-
Entry point to access the various "bridge" interfaces that can be used to call JavaScript functions using TeaVM.
- Browser() - Constructor for class nl.colorize.multimedialib.renderer.teavm.Browser
- BrowserBridge - Interface in nl.colorize.multimedialib.renderer.teavm
-
TeaVM interface for the
browser-bridge.js
JavaScript implementation. - BUFFER_CAPACITY - Static variable in class nl.colorize.multimedialib.renderer.FrameStats
- buildId - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
C
- C - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- calculateDistance(Circle) - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns the distance between the center of this circle and the center of the specified other circle.
- calculateDistance(Point2D) - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns the distance between the center of this circle and the specified point.
- calculateGlobalTransform() - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Calculates the graphic's global transform, and returns the resulting
Transform
instance. - canvas() - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
-
Returns the value of the
canvas
record component. - Canvas - Class in nl.colorize.multimedialib.renderer
-
Defines how the application graphics should be displayed.
- Canvas(int, int, ScaleStrategy) - Constructor for class nl.colorize.multimedialib.renderer.Canvas
- Canvas(Size, ScaleStrategy) - Constructor for class nl.colorize.multimedialib.renderer.Canvas
- CANVAS_HEIGHT - Static variable in class nl.colorize.multimedialib.tool.Demo3D
- CANVAS_WIDTH - Static variable in class nl.colorize.multimedialib.tool.Demo3D
- canvasZoom - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- center() - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns the value of the
center
record component. - CENTER - Enum constant in enum class nl.colorize.multimedialib.stage.Align
- chance(float) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Produces a random float between 0.0 and 1.0, then compares that number against
n
and returns the result. - changeBackgroundColor(int) - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- changeGraphics(String) - Method in class nl.colorize.multimedialib.stage.Sprite
-
Changes this sprite's graphics to the state identified by the specified name.
- changeScene(Scene) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Requests to change the active scene after the current frame update has been completed.
- Circle - Record Class in nl.colorize.multimedialib.math
-
Circle that is defined by its center point and a radius.
- Circle(float, float, float) - Constructor for record class nl.colorize.multimedialib.math.Circle
- Circle(Point2D, float) - Constructor for record class nl.colorize.multimedialib.math.Circle
-
Creates an instance of a
Circle
record class. - CIRCLE - Static variable in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- clear() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- clear() - Method in class nl.colorize.multimedialib.stage.Stage
-
Removes all 2D and 3D graphics from the stage.
- clear() - Method in class nl.colorize.multimedialib.stage.World3D
- clearChildren() - Method in class nl.colorize.multimedialib.stage.Container
- clearPointerState() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- clearPointerState() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Deprecated.Do not rely on this method as it means application logic will be influenced by the order in which different (sub)scenes run. Instead, try to restructure logic to avoid multiple (sub)scenes fighting for the same pointers.
- clearPointerState() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- clearPointerState() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- clearPointerState() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- clearPointerState() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- color() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
color
record component. - ColorRGB - Record Class in nl.colorize.multimedialib.stage
-
Represents a color built out of red, green, and blue components.
- ColorRGB(int) - Constructor for record class nl.colorize.multimedialib.stage.ColorRGB
-
Creates a color from a single RGBA value.
- ColorRGB(int, int, int) - Constructor for record class nl.colorize.multimedialib.stage.ColorRGB
-
Creates a color from the specified red, green, and blue components.
- combine(Transform) - Method in class nl.colorize.multimedialib.stage.Transform
-
Returns a new
Transform
instance that is the result of combining this transform with the specified other transform. - COMMA - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- configure(DisplayMode) - Static method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Returns a launcher instance that will start the renderer using the specified display mode.
- configure(DisplayMode, WindowOptions) - Static method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Returns a launcher instance that will start the renderer using the specified display mode and window options.
- connect(String) - Method in interface nl.colorize.multimedialib.renderer.PeerConnection
-
Attempts to connect to the peer with the specified ID.
- connect(String) - Method in class nl.colorize.multimedialib.renderer.teavm.PeerjsConnection
- connect(String, MessageCallback) - Method in interface nl.colorize.multimedialib.renderer.teavm.PeerjsBridge
- Container - Class in nl.colorize.multimedialib.stage
-
Display object that acts as a container for holding 2D graphics.
- Container() - Constructor for class nl.colorize.multimedialib.stage.Container
- Container(String) - Constructor for class nl.colorize.multimedialib.stage.Container
- contains(float, float) - Method in record class nl.colorize.multimedialib.math.Rect
- contains(String) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
- contains(Point2D) - Method in record class nl.colorize.multimedialib.math.Circle
- contains(Point2D) - Method in record class nl.colorize.multimedialib.math.Line
- contains(Point2D) - Method in record class nl.colorize.multimedialib.math.Polygon
- contains(Point2D) - Method in record class nl.colorize.multimedialib.math.Rect
- contains(Point2D) - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- contains(Point2D) - Method in interface nl.colorize.multimedialib.math.Shape
-
Returns whether this shape contains the specified point.
- contains(Rect) - Method in record class nl.colorize.multimedialib.math.Rect
- containsResourceFile(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- containsResourceFile(FilePointer) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- containsResourceFile(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Returns whether the specified resource file is available.
- containsResourceFile(FilePointer) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- Coordinate - Record Class in nl.colorize.multimedialib.math
-
Simple data structure for representing (X, Y) coordinates with integer precision.
- Coordinate(int, int) - Constructor for record class nl.colorize.multimedialib.math.Coordinate
-
Creates an instance of a
Coordinate
record class. - copy() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- copy() - Method in class nl.colorize.multimedialib.stage.Animation
- copy() - Method in interface nl.colorize.multimedialib.stage.PolygonModel
-
Creates a copy of this model.
- copy() - Method in class nl.colorize.multimedialib.stage.Sprite
-
Creates a new sprite with states and graphics based on this one, but it starts back in its initial state.
- copyResources() - Method in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- countGraphics(Graphic2D) - Method in class nl.colorize.multimedialib.renderer.FrameStats
- create() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- createBox(Point3D, ColorRGB) - Method in interface nl.colorize.multimedialib.renderer.GeometryBuilder
- createBox(Point3D, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- createBox(Point3D, Image) - Method in interface nl.colorize.multimedialib.renderer.GeometryBuilder
- createBox(Point3D, Image) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- createCircle(Point2D, float, int) - Static method in record class nl.colorize.multimedialib.math.Polygon
-
Convenience method to create a polygon in the shape of a circle with the specified properties.
- createCone(Point2D, float, float, float) - Static method in record class nl.colorize.multimedialib.math.Polygon
-
Convenience method to create a cone-shaped polygon.
- createCone(Point2D, Angle, float, float) - Static method in record class nl.colorize.multimedialib.math.Polygon
-
Convenience method to create a cone-shaped polygon.
- createContainer() - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- createGraphics() - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- createInstance(Model) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- createQuad(Point2D, ColorRGB) - Method in interface nl.colorize.multimedialib.renderer.GeometryBuilder
- createQuad(Point2D, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- createQuad(Point2D, Image) - Method in interface nl.colorize.multimedialib.renderer.GeometryBuilder
- createQuad(Point2D, Image) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- createSphere(float, ColorRGB) - Method in interface nl.colorize.multimedialib.renderer.GeometryBuilder
- createSphere(float, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- createSphere(float, Image) - Method in interface nl.colorize.multimedialib.renderer.GeometryBuilder
- createSphere(float, Image) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- createSprite(Pixi.Texture) - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- createText(String, float, boolean, String, float, int) - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- createTexture(String, CanvasImageSource, float, float, float, float) - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
D
- D - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- DEFAULT - Static variable in interface nl.colorize.multimedialib.renderer.ErrorHandler
-
Default implementation that does nothing except logging the error.
- DEFAULT_CANVAS_HEIGHT - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- DEFAULT_CANVAS_WIDTH - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- DEFAULT_FONT - Static variable in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- DEFAULT_FRAMERATE - Static variable in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- DEFAULT_HEIGHT - Static variable in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- DEFAULT_WIDTH - Static variable in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- degrees() - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns the value of the
degrees
record component. - delay(float, Runnable) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Creates an effect that will first wait for the specified period of time, and will then perform an action.
- demo - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- Demo2D - Class in nl.colorize.multimedialib.tool
-
Simple demo application that displays a number of animated Mario sprites on top of a black background.
- Demo2D() - Constructor for class nl.colorize.multimedialib.tool.Demo2D
- Demo3D - Class in nl.colorize.multimedialib.tool
-
Simple demo application for 3D graphics, that shows a checkerboard floor and a number of models randomly walking around.
- Demo3D() - Constructor for class nl.colorize.multimedialib.tool.Demo3D
- DemoLauncher - Class in nl.colorize.multimedialib.tool
-
Launches one of the demo applications from the command line.
- DemoLauncher() - Constructor for class nl.colorize.multimedialib.tool.DemoLauncher
- derive(int) - Method in record class nl.colorize.multimedialib.stage.FontFace
- derive(ColorRGB) - Method in record class nl.colorize.multimedialib.stage.FontFace
- detach() - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Convenience method that detaches this graphic from its parent, removing its from the scene graph.
- DIAMOND - Static variable in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- difference(Angle) - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns the distance between this angle and the specified other angle, in degrees.
- direction() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns the value of the
direction
record component. - DisplayMode - Record Class in nl.colorize.multimedialib.renderer
-
Configures the renderer's display mode, which consists of both the canvas resolution and the targeted framerate.
- DisplayMode(Canvas, int) - Constructor for record class nl.colorize.multimedialib.renderer.DisplayMode
-
Creates an instance of a
DisplayMode
record class. - dispose() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- dispose() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- dispose() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- dispose() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- distanceTo(Point2D) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the distance between this point and the specified other point.
- doFrame() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- DOWN - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- drawBackground(ColorRGB) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawBackground(ColorRGB) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawBackground(ColorRGB) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawBackground(ColorRGB) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawBackground(ColorRGB) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawBackground(ColorRGB) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawBackground(ColorRGB) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawCircle(float, float, float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- drawCircle(Primitive, Circle, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawCircle(Primitive, Circle, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawCircle(Primitive, Circle, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawCircle(Primitive, Circle, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawCircle(Primitive, Circle, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawCircle(Primitive, Circle, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawCircle(Primitive, Circle, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawLine(Primitive, Line, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawLine(Primitive, Line, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawLine(Primitive, Line, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
-
Draws a line using libGDX's
ShapeBatch
. - drawLine(Primitive, Line, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawLine(Primitive, Line, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawLine(Primitive, Line, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawLine(Primitive, Line, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawPolygon(float[]) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- drawPolygon(Primitive, Polygon, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawPolygon(Primitive, Polygon, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawPolygon(Primitive, Polygon, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawPolygon(Primitive, Polygon, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawPolygon(Primitive, Polygon, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawPolygon(Primitive, Polygon, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawPolygon(Primitive, Polygon, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawRect(float, float, float, float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- drawRect(Primitive, Rect, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawRect(Primitive, Rect, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawRect(Primitive, Rect, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawRect(Primitive, Rect, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawRect(Primitive, Rect, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawRect(Primitive, Rect, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawRect(Primitive, Rect, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawSprite(Sprite, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawSprite(Sprite, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawSprite(Sprite, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawSprite(Sprite, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawSprite(Sprite, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawSprite(Sprite, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawSprite(Sprite, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawText(Text, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- drawText(Text, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- drawText(Text, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- drawText(Text, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- drawText(Text, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- drawText(Text, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- drawText(Text, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- duration() - Method in record class nl.colorize.multimedialib.stage.ModelAnimation
-
Returns the value of the
duration
record component.
E
- E - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- Effect - Class in nl.colorize.multimedialib.scene.effect
-
Effects are short-lived sub-scenes that can be defined in a declarative style.
- Effect() - Constructor for class nl.colorize.multimedialib.scene.effect.Effect
-
Creates a new effect that initially does not define any behavior and is not linked to any graphics.
- EMULATION_SYSTEM_PROPERTY - Static variable in class nl.colorize.multimedialib.renderer.RendererLauncher
- end() - Method in record class nl.colorize.multimedialib.math.Line
-
Returns the value of the
end
record component. - end() - Method in class nl.colorize.multimedialib.scene.Timer
- end(SceneContext) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- end(SceneContext) - Method in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- end(SceneContext) - Method in interface nl.colorize.multimedialib.scene.Scene
-
Clean-up logic that is performed every time the scene ends.
- ended(float) - Static method in class nl.colorize.multimedialib.scene.Timer
-
Factory method that creates a timer which starts in the completed state, with the playhead set to the timer's duration.
- endFill() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- ENTER - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- EPSILON - Static variable in record class nl.colorize.multimedialib.math.Point2D
- EPSILON - Static variable in interface nl.colorize.multimedialib.math.Shape
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Angle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Circle
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Line
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Point3D
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Polygon
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Rect
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Region
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Size
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.math.Vector
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.renderer.FilePointer
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class nl.colorize.multimedialib.stage.ModelAnimation
-
Indicates whether some other object is "equal to" this one.
- EQUALS - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- ErrorCallback - Interface in nl.colorize.multimedialib.renderer.teavm
- ErrorHandler - Interface in nl.colorize.multimedialib.renderer
-
Used when the renderer encounters an error.
- ESCAPE - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- expand(float) - Method in record class nl.colorize.multimedialib.math.Rect
-
Expands this rectangle by the specified amount, and returns the resulting new rectangle.
- extend(Point2D) - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Returns a new
SegmentedLine
that consists of the same segments as this one plus one extra segment between this line's tail and the specified point. - extractRegion(Region) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- extractRegion(Region) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXImage
- extractRegion(Region) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- extractRegion(Region) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- extractRegion(Region) - Method in interface nl.colorize.multimedialib.stage.Image
-
Returns a new
Image
instance that is based on the same source image, but only contains the specified rectangular region within the source image.
F
- F - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F1 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F10 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F11 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F12 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F2 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F3 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F4 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F5 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F6 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F7 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F8 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- F9 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- family() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
family
record component. - FilePointer - Record Class in nl.colorize.multimedialib.renderer
-
Reference to a resource file that is part of the application using a relative path.
- FilePointer(File) - Constructor for record class nl.colorize.multimedialib.renderer.FilePointer
- FilePointer(String) - Constructor for record class nl.colorize.multimedialib.renderer.FilePointer
-
Creates an instance of a
FilePointer
record class. - fillClipboard(String) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- fillClipboard(String) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Copies the specified text to the system clipboard.
- fillClipboard(String) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- fillClipboard(String) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- fillClipboard(String) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- fillClipboard(String) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- findCenter(Point2D) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point that is positioned in the center between this point and the specified other point.
- fit() - Static method in interface nl.colorize.multimedialib.renderer.ScaleStrategy
-
Will zoom out until it is able to fit its preferred size.
- flatten - Variable in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- flexible() - Static method in interface nl.colorize.multimedialib.renderer.ScaleStrategy
-
Does not perform any scaling, and makes the canvas match the native screen resolution and aspect ratio.
- fontCache - Static variable in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- FontFace - Record Class in nl.colorize.multimedialib.stage
-
Describes a TrueType or FreeType font that can be used by the renderer to draw text.
- FontFace(FilePointer, String, int, ColorRGB) - Constructor for record class nl.colorize.multimedialib.stage.FontFace
-
Creates an instance of a
FontFace
record class. - fontFamilies - Static variable in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- forBrowser2D(String) - Method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Initializes and returns the renderer with the specified name, configuring the renderer so that it can be used on web and mobile platforms in 2D graphics mode.
- forBrowser3D(String) - Method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Initializes and returns the renderer with the specified name, configuring the renderer so that it can be used on web and mobile platforms in 3D graphics mode.
- forceState(S) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Forces this state machine into the specified state, clearing the queue so that the requested state becomes active during the next frame update.
- forClickHandler(Graphic2D, Runnable) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
- forDesktop2D(String) - Method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Initializes and returns the renderer with the specified name, configuring the renderer so that it can be used on desktop platforms in 2D graphics mode.
- forDesktop3D(String) - Method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Initializes and returns the renderer with the specified name, configuring the renderer so that it can be used on desktop platforms in 3D graphics mode.
- forEach(Class<T>, Consumer<T>) - Method in class nl.colorize.multimedialib.stage.Container
-
Invokes the specified callback function for all matching graphics within this container.
- forFrameHandler(Runnable) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Creates an effect that will use the specified callback every frame for as long the effect is active.
- forFrameHandler(Updatable) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Creates an effect that will use the specified callback every frame for as long the effect is active.
- forHeadless() - Method in class nl.colorize.multimedialib.renderer.RendererLauncher
-
Initializes and returns a headless renderer that can be used for testing and simulation purposes.
- forLines(BiConsumer<Integer, String>) - Method in class nl.colorize.multimedialib.stage.Text
- forParentImage() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
-
Returns a
TeaImage
instance that uses the same<img>
element as this instance, but points to the entire image rather than a specific image region. - forPrimitiveAlpha(Primitive, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Shorthand for creating an effect that modifies the primitive's alpha value based on a timeline.
- forSpriteAlpha(Sprite, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Shorthand for creating an effect that modifies the sprite's alpha value based on a timeline.
- forSpriteRotation(Sprite, float) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Shorthand for creating an effect that rotates a sprite.
- forSpriteScale(Sprite, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Shorthand for creating an effect that scales a sprite based on the specified timeline.
- forTextAlpha(Text, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Shorthand for creating an effect that modifies the text's alpha value based on a timeline.
- forTextAppear(Text, float) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Shorthand for creating an effect that will make the text slowly appear over time, with more and more characters appearing on screen over time until the entire text is shown.
- forTimeline(Timeline, Consumer<Float>) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Creates an effect that will invoke a callback function based on the timeline's current value.
- forX(Graphic2D, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
- forY(Graphic2D, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
- framerate - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- framerate() - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
-
Returns the value of the
framerate
record component. - FrameStats - Class in nl.colorize.multimedialib.renderer
-
Tracks performance statistics for each frame, then reports on average performance behavior over time using a sliding window.
- FrameStats(DisplayMode) - Constructor for class nl.colorize.multimedialib.renderer.FrameStats
- fromPoint(Point2D) - Static method in record class nl.colorize.multimedialib.math.Vector
-
Creates a new vector with a direction and magnitude so that
Vector.getX()
andVector.getY()
will refer to the specified point. - fromPoints(float, float, float, float) - Static method in record class nl.colorize.multimedialib.math.Rect
-
Created a rectangle from 4 points (x0, y0, x1, y1) instead of requiring its width and height.
- fullscreen - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
G
- g() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns the value of the
g
record component. - G - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- GDXAudio - Class in nl.colorize.multimedialib.renderer.libgdx
-
Uses libGDX's sound system for audio playback.
- GDXAudio(Sound) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXAudio
- GDXGeometryBuilder - Class in nl.colorize.multimedialib.renderer.libgdx
- GDXGeometryBuilder(GDXMediaLoader) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXGeometryBuilder
- GDXGraphics - Class in nl.colorize.multimedialib.renderer.libgdx
- GDXGraphics(Canvas, GDXMediaLoader) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- GDXImage - Class in nl.colorize.multimedialib.renderer.libgdx
-
Refers to a texture that is managed by libGDX.
- GDXImage(Texture) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- GDXImage(Texture, Region) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- GDXInput - Class in nl.colorize.multimedialib.renderer.libgdx
- GDXInput(Canvas) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- GDXMediaLoader - Class in nl.colorize.multimedialib.renderer.libgdx
-
Loads media assets using the libGDX framework.
- GDXMediaLoader() - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- GDXModel - Class in nl.colorize.multimedialib.renderer.libgdx
- GDXModel(ModelInstance) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- GDXRenderer - Class in nl.colorize.multimedialib.renderer.libgdx
-
Renderer built on top of the libGDX framework.
- GDXRenderer(GraphicsMode, DisplayMode, WindowOptions) - Constructor for class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- GeometryBuilder - Interface in nl.colorize.multimedialib.renderer
-
Interface for programmatically create 3D polygon models.
- get(int, int) - Method in class nl.colorize.multimedialib.math.Grid
-
Returns the value of the grid cell located at the specified coordinates.
- get(String) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
-
Returns the sub-image with the specified name.
- get(String, Headers) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardNetwork
- get(String, Headers) - Method in interface nl.colorize.multimedialib.renderer.Network
-
Sends a HTTP GET request to the specified URL.
- get(String, Headers) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaNetwork
- get(Predicate<String>) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
-
Returns all sub-images that match the predicate.
- get(List<String>) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
-
Returns a list of sub-images that match the requested names.
- getActiveState() - Method in class nl.colorize.multimedialib.scene.StateMachine
- getActiveState() - Method in class nl.colorize.multimedialib.stage.Sprite
- getActiveStateTimer() - Method in class nl.colorize.multimedialib.scene.StateMachine
- getAddedChildren() - Method in class nl.colorize.multimedialib.stage.Container
- getAlign() - Method in class nl.colorize.multimedialib.stage.Text
- getAll() - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
-
Returns all sub-images in this sprite atlas.
- getAlpha() - Method in class nl.colorize.multimedialib.stage.Transform
- getAlpha(int, int) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- getAlpha(int, int) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXImage
- getAlpha(int, int) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- getAlpha(int, int) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- getAlpha(int, int) - Method in interface nl.colorize.multimedialib.stage.Image
-
Returns the alpha of a pixel within the image.
- getAmbientLight() - Method in class nl.colorize.multimedialib.stage.World3D
- getAnimation(String) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- getAnimation(String) - Method in interface nl.colorize.multimedialib.stage.PolygonModel
- getAnimationTimer() - Method in class nl.colorize.multimedialib.stage.Stage
- getApplicationDataFile(String) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- getAppMenu() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- getAverageFramerate() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- getAverageTime(String) - Method in class nl.colorize.multimedialib.renderer.FrameStats
-
Returns the average duration for the specified phase, in seconds.
- getAverageTimeMS(String) - Method in class nl.colorize.multimedialib.renderer.FrameStats
-
Returns the average duration for the specified phase, in milliseconds.
- getBackgroundColor() - Method in class nl.colorize.multimedialib.stage.Stage
- getBarBackgroundAlpha() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBarBackgroundColor() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBarBorderColor() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBarBorderStroke() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBarForegroundColor() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBarHeight() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBarWidth() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getBitmapFont(FontFace) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.Circle
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.Line
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Returns the smallest possible axis-aligned rectangle that contains this polygon.
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.Rect
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- getBoundingBox() - Method in interface nl.colorize.multimedialib.math.Shape
-
Returns the smallest possible rectangular bounding box that can fit this shape.
- getBounds() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getBrowserBridge() - Static method in class nl.colorize.multimedialib.renderer.teavm.Browser
- getBufferSize() - Method in class nl.colorize.multimedialib.renderer.FrameStats
-
Returns the number of frames that have been measured and that are currently in the buffer.
- getCameraPosition() - Method in class nl.colorize.multimedialib.stage.World3D
- getCameraTarget() - Method in class nl.colorize.multimedialib.stage.World3D
- getCanvas() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- getCanvas() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getCanvas() - Method in class nl.colorize.multimedialib.stage.Stage
- getCenter() - Method in record class nl.colorize.multimedialib.math.Polygon
- getCenter() - Method in record class nl.colorize.multimedialib.math.Rect
- getCenter() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getCenterX() - Method in record class nl.colorize.multimedialib.math.Rect
- getCenterY() - Method in record class nl.colorize.multimedialib.math.Rect
- getChildren() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- getChildren() - Method in class nl.colorize.multimedialib.stage.Container
- getChildren() - Method in class nl.colorize.multimedialib.stage.World3D
- getColor() - Method in class nl.colorize.multimedialib.stage.Primitive
- getColor(int, int) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- getColor(int, int) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXImage
- getColor(int, int) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- getColor(int, int) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- getColor(int, int) - Method in interface nl.colorize.multimedialib.stage.Image
-
Returns the RGB color value of a pixel within the image.
- getContainer() - Method in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- getContext() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getContext() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getCurrentGraphics() - Method in class nl.colorize.multimedialib.stage.Sprite
- getCurrentHeight() - Method in class nl.colorize.multimedialib.stage.Sprite
- getCurrentStateGraphics() - Method in class nl.colorize.multimedialib.stage.Sprite
-
Deprecated.
- getCurrentStateTimer() - Method in class nl.colorize.multimedialib.stage.Sprite
-
Deprecated.
- getCurrentWidth() - Method in class nl.colorize.multimedialib.stage.Sprite
- getCustomStats() - Method in class nl.colorize.multimedialib.renderer.FrameStats
-
Returns the names of all custom statistics that have been measured and are currently in the buffer.
- getDebugInformation() - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Returns debug and support information that can be displayed when running a MultimediaLib application in debug mode.
- getDelay() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getDevicePixelRatio() - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- getDevicePixelRatio() - Method in interface nl.colorize.multimedialib.renderer.teavm.TeaGraphics
- getDisplayHeight() - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- getDisplayHeight() - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- getDisplayHeight() - Method in interface nl.colorize.multimedialib.renderer.teavm.TeaGraphics
- getDisplayHeight() - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- getDisplayMode() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getDisplayMode() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- getDisplayMode() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getDisplayMode() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- getDisplayMode() - Method in interface nl.colorize.multimedialib.renderer.Renderer
- getDisplayMode() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- getDisplayMode() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getDisplayWidth() - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- getDisplayWidth() - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- getDisplayWidth() - Method in interface nl.colorize.multimedialib.renderer.teavm.TeaGraphics
- getDisplayWidth() - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- getDuration() - Method in class nl.colorize.multimedialib.scene.Timer
- getDuration() - Method in class nl.colorize.multimedialib.stage.Animation
- getEndX() - Method in record class nl.colorize.multimedialib.math.Rect
- getEndY() - Method in record class nl.colorize.multimedialib.math.Rect
- getErrorHandler() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getFile() - Method in class nl.colorize.multimedialib.stage.LoadStatus
- getFileName() - Method in record class nl.colorize.multimedialib.renderer.FilePointer
- getFloat(float, float) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Returns a random float somewhere in the range between the minimum (inclusive) and maximum (exclusive).
- getFont() - Method in class nl.colorize.multimedialib.stage.Text
- getFont(FontFace) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXMediaLoader
- getFrame() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Texture
- getFrameAtIndex(int) - Method in class nl.colorize.multimedialib.stage.Animation
- getFrameAtTime(float) - Method in class nl.colorize.multimedialib.stage.Animation
- getFrameCount() - Method in class nl.colorize.multimedialib.stage.Animation
- getFrameImages() - Method in class nl.colorize.multimedialib.stage.Animation
- getFrameRenderTime() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- getFrameStats() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getFrameStats() - Method in class nl.colorize.multimedialib.stage.Stage
- getFrameTime() - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
- getFrameTime(int) - Method in class nl.colorize.multimedialib.stage.Animation
- getFrameTimeMS() - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
- getFrameTimes(String) - Method in class nl.colorize.multimedialib.renderer.FrameStats
-
Returns all measured frame times for the specified phase that are currently in the buffer, in millisecond precision.
- getFrameUpdateTime() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- getGeometryBuilder() - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- getGeometryBuilder() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- getGeometryBuilder() - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Provides access to a
GeometryBuilder
instance that can be used to create simple 3D geometry in a programmatic way. - getGeometryBuilder() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- getGraphics() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getGraphics() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getGraphics(String) - Method in class nl.colorize.multimedialib.stage.Sprite
- getGraphicsCount() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- getGraphicsMode() - Method in interface nl.colorize.multimedialib.renderer.Renderer
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- getGraphicsMode() - Method in interface nl.colorize.multimedialib.renderer.teavm.TeaGraphics
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- getGraphicsMode() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getHead() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- getHeight() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getHeight() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- getHeight() - Method in interface nl.colorize.multimedialib.stage.Image
- getHtmlCanvas() - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- getIconFile() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- getId() - Method in class nl.colorize.multimedialib.renderer.Pointer
- getId() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- getImage() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- getImage() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXImage
- getImageElement() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- getImagePromise() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- getInput() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getInput() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getInstance() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- getInt(int, int) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Returns a random integer somewhere in the range between the minimum (inclusive) and maximum (exclusive).
- getLightColor() - Method in class nl.colorize.multimedialib.stage.World3D
- getLightPosition() - Method in class nl.colorize.multimedialib.stage.World3D
- getLineHeight() - Method in class nl.colorize.multimedialib.stage.Text
- getLines() - Method in class nl.colorize.multimedialib.stage.Text
- getLineWidth() - Method in class nl.colorize.multimedialib.stage.Text
- getLoading() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getLoadStatus() - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- getLoadStatus() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- getLoadStatus() - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Returns a buffer containing the load status of all media files that have been loaded by this
MediaLoader
. - getLoadStatus() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- getMaskColor() - Method in class nl.colorize.multimedialib.stage.Transform
- getMediaAssets() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getMediaLoader() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getMediaLoader() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getMediaLoader() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getMeta(String, String) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- getName() - Method in class nl.colorize.multimedialib.stage.Container
- getNetwork() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getNetwork() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getNetwork() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getNextScene() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getNumPoints() - Method in record class nl.colorize.multimedialib.math.Polygon
- getOrigin() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- getOriginalTexture() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- getParent() - Method in class nl.colorize.multimedialib.stage.Container
- getParent() - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Returns this graphic's parent in the scene graph.
- getParent() - Method in class nl.colorize.multimedialib.stage.Primitive
- getParent() - Method in class nl.colorize.multimedialib.stage.Sprite
- getParent() - Method in class nl.colorize.multimedialib.stage.Text
- getPeerJsBridge() - Static method in class nl.colorize.multimedialib.renderer.teavm.Browser
- getPixels() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXImage
- getPixiApp() - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- getPixiBridge() - Static method in class nl.colorize.multimedialib.renderer.teavm.Browser
- getPoint(int) - Method in record class nl.colorize.multimedialib.math.Polygon
- getPointer() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getPointers() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getPointers() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Returns all currently active pointers.
- getPointers() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- getPointers() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- getPointers() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- getPointers() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- getPointX(int) - Method in record class nl.colorize.multimedialib.math.Polygon
- getPointY(int) - Method in record class nl.colorize.multimedialib.math.Polygon
- getPosition() - Method in class nl.colorize.multimedialib.renderer.Pointer
- getPosition() - Method in class nl.colorize.multimedialib.scene.Timer
- getPosition() - Method in class nl.colorize.multimedialib.stage.Transform
- getPosition() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getPossibleStates() - Method in class nl.colorize.multimedialib.stage.Sprite
- getPreferredSize() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getPressedTimer() - Method in class nl.colorize.multimedialib.renderer.Pointer
- getQueryParameter(String, String) - Static method in class nl.colorize.multimedialib.renderer.teavm.Browser
-
Returns the query parameter with the specified name, or the default value if no such query parameter exists.
- getQueryParameter(String, String) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- getRadians() - Method in record class nl.colorize.multimedialib.math.Angle
- getRatio() - Method in class nl.colorize.multimedialib.scene.Timer
- getReceivedMessages() - Method in interface nl.colorize.multimedialib.renderer.PeerConnection
-
Returns all received messages from all connected peers.
- getReceivedMessages() - Method in class nl.colorize.multimedialib.renderer.teavm.PeerjsConnection
- getRegion() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- getRegion() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXImage
- getRegion() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- getRegion() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- getRegion() - Method in interface nl.colorize.multimedialib.stage.Image
- getRemovedChildren() - Method in class nl.colorize.multimedialib.stage.Container
- getRendererName() - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Returns the display name for the underlying renderer.
- getRGB() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
- getRoot() - Method in class nl.colorize.multimedialib.stage.Stage
- getRootContainer() - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- getRotation() - Method in class nl.colorize.multimedialib.stage.Transform
- getRotationX() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getRotationY() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getRotationZ() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getScale() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- getScaleStrategy() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getScaleX() - Method in class nl.colorize.multimedialib.stage.Transform
- getScaleX() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getScaleY() - Method in class nl.colorize.multimedialib.stage.Transform
- getScaleY() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getScaleZ() - Method in class nl.colorize.multimedialib.stage.Transform3D
- getScreen() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.App
- getScreenBackgroundColor() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getScreenOffset() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getScreenshotQueue() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getScreenSize() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getScriptFile() - Method in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- getSegments() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- getShape() - Method in class nl.colorize.multimedialib.stage.Primitive
- getSize() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getStage() - Method in class nl.colorize.multimedialib.scene.SceneContext
- getStageBounds() - Method in class nl.colorize.multimedialib.stage.Container
-
Returns the smallest rectangle that can contain the bounds of all graphics within this container.
- getStageBounds() - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Returns the smallest possible rectangle that can contain this graphic, based on its current position and size.
- getStageBounds() - Method in class nl.colorize.multimedialib.stage.Primitive
- getStageBounds() - Method in class nl.colorize.multimedialib.stage.Sprite
- getStageBounds() - Method in class nl.colorize.multimedialib.stage.Text
- getState() - Method in class nl.colorize.multimedialib.renderer.Pointer
- getStroke() - Method in class nl.colorize.multimedialib.stage.Primitive
- getSwipes() - Method in class nl.colorize.multimedialib.scene.effect.SwipeTracker
- getTail() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- getTargetFramerate() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- getTexture() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- getTexture() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- getTextureData() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- getTextureImageId() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Texture
- getTextureRegion() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXImage
- getThreeBridge() - Static method in class nl.colorize.multimedialib.renderer.teavm.Browser
- getTime() - Method in class nl.colorize.multimedialib.scene.Timer
- getTime() - Method in class nl.colorize.multimedialib.stage.LoadStatus
- getTimePressed() - Method in class nl.colorize.multimedialib.renderer.Pointer
-
Returns the time this pointer has been pressed, in seconds.
- getTimeRemaining() - Method in class nl.colorize.multimedialib.scene.Timer
- getTitle() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- getTransform() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- getTransform() - Method in class nl.colorize.multimedialib.stage.Container
- getTransform() - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Returns this graphic's local transform, which can be modified to influence how the graphic should be displayed.
- getTransform() - Method in interface nl.colorize.multimedialib.stage.PolygonModel
- getTransform() - Method in class nl.colorize.multimedialib.stage.Primitive
- getTransform() - Method in class nl.colorize.multimedialib.stage.Sprite
- getTransform() - Method in class nl.colorize.multimedialib.stage.Text
- getWidth() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getWidth() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- getWidth() - Method in interface nl.colorize.multimedialib.stage.Image
- getWindowOptions() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- getWindowOptions() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- getWindowSize() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- getWorld() - Method in class nl.colorize.multimedialib.stage.Stage
- getX() - Method in record class nl.colorize.multimedialib.math.Vector
- getX() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- getX() - Method in class nl.colorize.multimedialib.stage.Transform
- getY() - Method in record class nl.colorize.multimedialib.math.Vector
- getY() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- getY() - Method in class nl.colorize.multimedialib.stage.Transform
- getZoomLevel() - Method in class nl.colorize.multimedialib.renderer.Canvas
-
Returns the zoom level that indicates how canvas pixels should be displayed relative to screen pixels.
- getZoomLevel(float, float) - Method in interface nl.colorize.multimedialib.renderer.ScaleStrategy
- getZoomLevel(Canvas) - Method in interface nl.colorize.multimedialib.renderer.ScaleStrategy
- Graphic2D - Interface in nl.colorize.multimedialib.stage
-
Shared interface for all types of 2D graphics that are part of the scene graph.
- graphics - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- GraphicsMode - Enum Class in nl.colorize.multimedialib.renderer
-
Describes the graphics mode supported by the renderer.
- GRAY - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- GREEN - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- Grid<E> - Class in nl.colorize.multimedialib.math
-
Two-dimensional data structure with linear access time to each cell.
- Grid() - Constructor for class nl.colorize.multimedialib.math.Grid
H
- H - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- hasGraphics(String) - Method in class nl.colorize.multimedialib.stage.Sprite
- hashCode() - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Line
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Size
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.renderer.FilePointer
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns a hash code value for this object.
- hashCode() - Method in record class nl.colorize.multimedialib.stage.ModelAnimation
-
Returns a hash code value for this object.
- HEADLESS - Enum constant in enum class nl.colorize.multimedialib.renderer.GraphicsMode
- HeadlessAudio - Class in nl.colorize.multimedialib.renderer.headless
-
A no-op audio implementation for headless renderers that do not support audio playback.
- HeadlessAudio() - Constructor for class nl.colorize.multimedialib.renderer.headless.HeadlessAudio
- HeadlessMediaLoader - Class in nl.colorize.multimedialib.renderer.headless
-
Media loader implementation that can be used in headless environments, primarily for testing and simulation purposes.
- HeadlessMediaLoader(boolean) - Constructor for class nl.colorize.multimedialib.renderer.headless.HeadlessMediaLoader
- HeadlessRenderer - Class in nl.colorize.multimedialib.renderer.headless
-
Headless renderer implementation intended for testing or simulating on platforms without a graphics environment.
- HeadlessRenderer() - Constructor for class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- HeadlessRenderer(Canvas, int) - Constructor for class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- HeadlessRenderer(DisplayMode, boolean) - Constructor for class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- height() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
height
record component. - height() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
height
record component. - height() - Method in record class nl.colorize.multimedialib.math.Size
-
Returns the value of the
height
record component. - horizontalOffset - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- HtmlCanvasGraphics - Class in nl.colorize.multimedialib.renderer.teavm
-
Renders graphics using the HTML canvas API.
- HtmlCanvasGraphics(Canvas) - Constructor for class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
I
- I - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- IconTool - Class in nl.colorize.multimedialib.tool
-
Generates application icons for various platforms, based on a PNG image.
- IconTool() - Constructor for class nl.colorize.multimedialib.tool.IconTool
- Image - Interface in nl.colorize.multimedialib.stage
-
Describes image data for an image that has been loaded by the renderer.
- IMAGE_FILE_EXTENSIONS - Static variable in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- ImageManipulationTool - Class in nl.colorize.multimedialib.tool
-
Command line tool for various forms of image manipulation that are not available at runtime due to lack of platform support.
- ImageManipulationTool() - Constructor for class nl.colorize.multimedialib.tool.ImageManipulationTool
- infinite() - Static method in class nl.colorize.multimedialib.scene.Timer
-
Factory method that creates a timer which will never reach his duration, meaning the timer will never be marked as completed.
- init() - Method in interface nl.colorize.multimedialib.renderer.pixi.PixiBridge
- init() - Method in interface nl.colorize.multimedialib.renderer.three.ThreeBridge
- init(Canvas) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
-
Initializes this class using the specified JavaFX canvas.
- init(TeaMediaLoader) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- init(TeaMediaLoader) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- init(TeaMediaLoader) - Method in interface nl.colorize.multimedialib.renderer.teavm.TeaGraphics
- init(TeaMediaLoader) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- InputDevice - Interface in nl.colorize.multimedialib.renderer
-
Used to poll the status of the platform's input devices.
- inputDir - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- inputDir - Variable in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- inputFile - Variable in class nl.colorize.multimedialib.tool.IconTool
- interpolate(Point2D, float) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point with a position that uses linear interpolation between this point and the specified other point.
- interpolate(Point2D, float, Interpolation) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point with a position that is interpolated between this point and the specified other point.
- interpolate(ColorRGB, int) - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Creates a list of colors that interpolate linearly between this color and the target color.
- intersects(Circle) - Method in record class nl.colorize.multimedialib.math.Circle
- intersects(Polygon) - Method in record class nl.colorize.multimedialib.math.Polygon
-
Returns true if this polygon intersects with the specified other polygon.
- intersects(Rect) - Method in record class nl.colorize.multimedialib.math.Rect
- isActive() - Method in class nl.colorize.multimedialib.scene.effect.PerformanceMonitor
- isActiveScene(Scene) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Returns true if the specified scene is currently active.
- isCompleted() - Method in class nl.colorize.multimedialib.scene.effect.Effect
- isCompleted() - Method in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- isCompleted() - Method in interface nl.colorize.multimedialib.scene.Scene
-
Indicates the scene has been completed and no longer wishes to receive frame updates.
- isCompleted() - Method in class nl.colorize.multimedialib.scene.Timer
- isEmbedded() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- isFlipHorizontal() - Method in class nl.colorize.multimedialib.stage.Transform
- isFlipVertical() - Method in class nl.colorize.multimedialib.stage.Transform
- isFullImage() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- isFullscreen() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- isInitialized() - Method in interface nl.colorize.multimedialib.renderer.teavm.PeerjsBridge
- isKeyboardAvailable() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- isKeyboardAvailable() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
- isKeyboardAvailable() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- isKeyboardAvailable() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- isKeyboardAvailable() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- isKeyboardAvailable() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- isKeyPressed(int) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- isKeyPressed(KeyCode) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- isKeyPressed(KeyCode) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Returns true if the key with the specified key code was pressed during the current frame.
- isKeyPressed(KeyCode) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- isKeyPressed(KeyCode) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- isKeyPressed(KeyCode) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- isKeyPressed(KeyCode) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- isKeyReleased(int) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- isKeyReleased(KeyCode) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- isKeyReleased(KeyCode) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Returns true if the key with the specified key code was released during the current frame.
- isKeyReleased(KeyCode) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- isKeyReleased(KeyCode) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- isKeyReleased(KeyCode) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- isKeyReleased(KeyCode) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- isLandscape() - Method in class nl.colorize.multimedialib.renderer.Canvas
- isLoaded() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- isLoaded() - Method in interface nl.colorize.multimedialib.scene.MediaAssetStore
- isLoaded() - Method in class nl.colorize.multimedialib.stage.LoadStatus
- isLoop() - Method in class nl.colorize.multimedialib.stage.Animation
- isMobileDevice() - Static method in class nl.colorize.multimedialib.renderer.teavm.Browser
-
Returns true if the current platform can be considered a mobile device.
- isMobileDevice() - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- isOrigin() - Method in record class nl.colorize.multimedialib.math.Point2D
- isOrigin() - Method in record class nl.colorize.multimedialib.math.Point3D
- isPeerToPeerSupported() - Method in class nl.colorize.multimedialib.renderer.java2d.StandardNetwork
- isPeerToPeerSupported() - Method in interface nl.colorize.multimedialib.renderer.Network
-
Returns true if this renderer supports peer-to-peer connections on the current platform.
- isPeerToPeerSupported() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaNetwork
- isPointerPressed() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- isPointerPressed(Rect) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Convenience method that returns true if any of the pointer devices is currently pressed and located within the specified bounds.
- isPointerReleased() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- isPointerReleased(Rect) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Convenience method that returns true if any of the pointer devices has been released within the specified bounds.
- isPortait() - Method in class nl.colorize.multimedialib.renderer.Canvas
- isPressed() - Method in class nl.colorize.multimedialib.renderer.Pointer
-
Returns true if this pointer is currently in the pressed state, regardless of the pointer's current position.
- isPressed(Rect) - Method in class nl.colorize.multimedialib.renderer.Pointer
-
Returns true if this pointer is currently in the pressed state and the pointer's position is currently located within the specified area.
- isReleased() - Method in class nl.colorize.multimedialib.renderer.Pointer
-
Returns true if this pointer is currently in the released state, regardless of the pointer's current position.
- isReleased(Rect) - Method in class nl.colorize.multimedialib.renderer.Pointer
-
Returns true if this pointer is currently in the released state and the pointer's position is currently located within the specified area.
- isTintEnabled() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- isTouchAvailable() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- isTouchAvailable() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
- isTouchAvailable() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- isTouchAvailable() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- isTouchAvailable() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- isTouchAvailable() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- isTouchSupported() - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- isVisible() - Method in class nl.colorize.multimedialib.stage.Transform
J
- J - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- Java2DGraphicsContext - Class in nl.colorize.multimedialib.renderer.java2d
-
Uses Java 2D to render graphics.
- Java2DGraphicsContext(Canvas, Cache<FontFace, Font>) - Constructor for class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- Java2DRenderer - Class in nl.colorize.multimedialib.renderer.java2d
-
Implementation of a renderer that uses APIs from the Java standard library.
- Java2DRenderer(DisplayMode, WindowOptions) - Constructor for class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- JavaSoundPlayer - Class in nl.colorize.multimedialib.renderer.java2d
-
Plays audio clips using Java Sound.
- JavaSoundPlayer(ResourceFile) - Constructor for class nl.colorize.multimedialib.renderer.java2d.JavaSoundPlayer
- JFXAnimationLoop - Class in nl.colorize.multimedialib.renderer.jfx
-
Handles the JavaFX application, window, and animation loop.
- JFXAnimationLoop() - Constructor for class nl.colorize.multimedialib.renderer.jfx.JFXAnimationLoop
- JFXAudioPlayer - Class in nl.colorize.multimedialib.renderer.jfx
-
Uses the JavaFX media player to play audio.
- JFXAudioPlayer(Media) - Constructor for class nl.colorize.multimedialib.renderer.jfx.JFXAudioPlayer
- JFXGraphics - Class in nl.colorize.multimedialib.renderer.jfx
-
Renders graphics to a hardware-accelerated JavaFX
Canvas
. - JFXGraphics(DisplayMode, JFXMediaLoader) - Constructor for class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- JFXImage - Class in nl.colorize.multimedialib.renderer.jfx
-
Image loaded with JavaFX, which does not use the Java2D and ImageIO APIs that are part of the standard library.
- JFXImage(Image, Region) - Constructor for class nl.colorize.multimedialib.renderer.jfx.JFXImage
- JFXInput - Class in nl.colorize.multimedialib.renderer.jfx
-
Captures the current state for mouse and keyboard events, updated using JavaFX event handlers.
- JFXInput(Canvas) - Constructor for class nl.colorize.multimedialib.renderer.jfx.JFXInput
- JFXMediaLoader - Class in nl.colorize.multimedialib.renderer.jfx
-
Media implementation for JavaFX.
- JFXMediaLoader() - Constructor for class nl.colorize.multimedialib.renderer.jfx.JFXMediaLoader
- JFXRenderer - Class in nl.colorize.multimedialib.renderer.jfx
-
Renderer based on OpenJFX, which was previously known as JavaFX.
K
- K - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- KeyCode - Enum Class in nl.colorize.multimedialib.renderer
-
Enumerates the keys on a conventional keyboard.
- keyEventQueue - Variable in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- keyPressed(KeyEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- keyReleased(KeyEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- keyTyped(KeyEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
L
- L - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- launch(DisplayMode, WindowOptions) - Static method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
-
Launches the JavaFX renderer.
- LEFT - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- LEFT - Enum constant in enum class nl.colorize.multimedialib.stage.Align
- Line - Record Class in nl.colorize.multimedialib.math
-
Describes a straight line between two points within a two-dimensional space.
- Line(float, float, float, float) - Constructor for record class nl.colorize.multimedialib.math.Line
- Line(Point2D, Point2D) - Constructor for record class nl.colorize.multimedialib.math.Line
-
Creates an instance of a
Line
record class. - lineStyle(int, int) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- lineTo(float, float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- linkGraphics(Graphic2D...) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Links existing graphics to this effect.
- load(FilePointer) - Method in class nl.colorize.multimedialib.renderer.SpriteAtlasLoader
- loadApplicationData() - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- loadApplicationData(String) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- loadApplicationData(String) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- loadApplicationData(String) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads the application data for the application with the specified name.
- loadApplicationData(String) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- loadAtlas(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a sprite atlas based on the libGDX
.atlas
file format. - loadAudio(FilePointer) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessMediaLoader
- loadAudio(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- loadAudio(FilePointer) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXMediaLoader
- loadAudio(FilePointer) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- loadAudio(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads an audio clip from a file.
- loadAudio(FilePointer) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- loadDefaultFont(int, ColorRGB) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads the default font, the open source font Open Sans.
- loadFont(FilePointer, String, int, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- loadFont(FilePointer, String, int, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXMediaLoader
- loadFont(FilePointer, String, int, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- loadFont(FilePointer, String, int, ColorRGB) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a TrueType or FreeType font so the renderer can use that font for text rendering.
- loadFont(FilePointer, String, int, ColorRGB) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- loadImage(FilePointer) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessMediaLoader
- loadImage(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- loadImage(FilePointer) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXMediaLoader
- loadImage(FilePointer) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- loadImage(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads an image from a file.
- loadImage(FilePointer) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- loadMedia(MediaLoader, Network) - Method in interface nl.colorize.multimedialib.scene.MediaAssetStore
-
Loads all media assets managed by this
MediaAssetStore
. - loadModel(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- loadModel(FilePointer) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- loadModel(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a polygon model from the specified file.
- loadModel(FilePointer) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- loadProperties(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Convenience method that loads and then parses the contents of a
.properties
file. - LoadStatus - Class in nl.colorize.multimedialib.stage
-
Tracks progress for media files that are loaded by the renderer.
- loadText(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- loadText(FilePointer) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- loadText(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a text-based resource file using UTF-8 encoding.
- loadText(FilePointer) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- loadTextLines(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a text-based resource file using UTF-8 encoding, and returns it as a list of lines.
- loadTexture() - Method in interface nl.colorize.multimedialib.renderer.three.ThreeBridge
- loadTranslationBundle(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Convenience method that loads and then parses the contents of a
.properties
file and returns aTranslationBundle
. - locateFile(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
-
Returns a
ResourceFile
for the resource file at the specified location. - loop() - Method in record class nl.colorize.multimedialib.stage.ModelAnimation
-
Returns the value of the
loop
record component.
M
- M - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- magnitude() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns the value of the
magnitude
record component. - main(String[]) - Static method in class nl.colorize.multimedialib.tool.DemoLauncher
- main(String[]) - Static method in class nl.colorize.multimedialib.tool.IconTool
- main(String[]) - Static method in class nl.colorize.multimedialib.tool.ImageManipulationTool
- main(String[]) - Static method in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- main(String[]) - Static method in class nl.colorize.multimedialib.tool.TeaDemoLauncher
- main(String[]) - Static method in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- mainClassName - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- markEnd(String) - Method in class nl.colorize.multimedialib.renderer.FrameStats
- markStart(String) - Method in class nl.colorize.multimedialib.renderer.FrameStats
- mask - Variable in class nl.colorize.multimedialib.tool.IconTool
- MediaAssetStore - Interface in nl.colorize.multimedialib.scene
-
Interface for objects responsible for loading multiple media assets in bulk.
- MediaException - Exception Class in nl.colorize.multimedialib.renderer
-
Indicates an error has occured when loading or processing media, such as images or audio.
- MediaException(String) - Constructor for exception class nl.colorize.multimedialib.renderer.MediaException
- MediaException(String, Throwable) - Constructor for exception class nl.colorize.multimedialib.renderer.MediaException
- MediaLoader - Interface in nl.colorize.multimedialib.renderer
-
Loads media files such as images or audio in a format that can later be used by the renderer.
- merge(SpriteAtlas) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
-
Creates a new sprite atlas that includes all sub-images from both this atlas and the provided other atlas.
- MessageCallback - Interface in nl.colorize.multimedialib.renderer.teavm
-
JavaScript function interface that is used to receive name/value messages in callback functions.
- meta - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- minify - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- MINUS - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- mirror - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- mirror() - Method in class nl.colorize.multimedialib.stage.Animation
-
Returns a new animation with the same frames as this one, but appends the reversed version of the animation.
- MODE_2D - Enum constant in enum class nl.colorize.multimedialib.renderer.GraphicsMode
- MODE_3D - Enum constant in enum class nl.colorize.multimedialib.renderer.GraphicsMode
- ModelAnimation - Record Class in nl.colorize.multimedialib.stage
-
Properties for one of the animations defined in a
PolygonModel
. - ModelAnimation(String, float, boolean) - Constructor for record class nl.colorize.multimedialib.stage.ModelAnimation
-
Creates an instance of a
ModelAnimation
record class. - mouseClicked(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- mouseDragged(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- mouseEntered(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- mouseEventQueue - Variable in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- mouseExited(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- mouseMoved(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- mousePressed(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- mouseReleased(MouseEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- move(float) - Method in record class nl.colorize.multimedialib.math.Angle
- move(float, float) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point that starts from this point and then adds the specified offset.
- move(int, int) - Method in record class nl.colorize.multimedialib.math.Region
- move(Angle) - Method in record class nl.colorize.multimedialib.math.Angle
- move(Point2D) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point that starts from this point and then adds the specified offset.
- moveTo(float, float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- multiply(float) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point by multiplying this point's X and Y values with the specified factor.
- multiply(float) - Method in record class nl.colorize.multimedialib.math.Size
N
- N - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N0 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N1 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N2 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N3 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N4 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N5 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N6 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N7 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N8 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- N9 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- name() - Method in record class nl.colorize.multimedialib.stage.ModelAnimation
-
Returns the value of the
name
record component. - nested - Variable in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- Network - Interface in nl.colorize.multimedialib.renderer
-
Interface for the platform-specific mechanism for network access.
- nl.colorize.multimedialib.math - package nl.colorize.multimedialib.math
- nl.colorize.multimedialib.renderer - package nl.colorize.multimedialib.renderer
- nl.colorize.multimedialib.renderer.headless - package nl.colorize.multimedialib.renderer.headless
- nl.colorize.multimedialib.renderer.java2d - package nl.colorize.multimedialib.renderer.java2d
- nl.colorize.multimedialib.renderer.jfx - package nl.colorize.multimedialib.renderer.jfx
- nl.colorize.multimedialib.renderer.libgdx - package nl.colorize.multimedialib.renderer.libgdx
- nl.colorize.multimedialib.renderer.pixi - package nl.colorize.multimedialib.renderer.pixi
- nl.colorize.multimedialib.renderer.teavm - package nl.colorize.multimedialib.renderer.teavm
- nl.colorize.multimedialib.renderer.three - package nl.colorize.multimedialib.renderer.three
- nl.colorize.multimedialib.scene - package nl.colorize.multimedialib.scene
- nl.colorize.multimedialib.scene.effect - package nl.colorize.multimedialib.scene.effect
- nl.colorize.multimedialib.stage - package nl.colorize.multimedialib.stage
- nl.colorize.multimedialib.tool - package nl.colorize.multimedialib.tool
- none() - Static method in class nl.colorize.multimedialib.scene.Timer
-
Factory method that creates a timer with a zero duration.
- normalize() - Method in record class nl.colorize.multimedialib.math.Point3D
- normalizeFilePath(FilePointer, boolean) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
O
- O - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- offsetScreen(int, int) - Method in class nl.colorize.multimedialib.renderer.Canvas
-
Offset the canvas position on the screen.
- onAbout() - Method in class nl.colorize.multimedialib.tool.DemoLauncher
- onError(String) - Method in interface nl.colorize.multimedialib.renderer.teavm.ErrorCallback
- onError(SceneContext, Exception) - Method in interface nl.colorize.multimedialib.renderer.ErrorHandler
- onError(SceneContext, Exception) - Method in class nl.colorize.multimedialib.tool.Demo2D
- onError(SceneContext, Exception) - Method in class nl.colorize.multimedialib.tool.Demo3D
- onMessage(String, String) - Method in interface nl.colorize.multimedialib.renderer.teavm.MessageCallback
- onMessage(String, String) - Method in class nl.colorize.multimedialib.renderer.teavm.PeerjsConnection
- onQuit() - Method in class nl.colorize.multimedialib.tool.DemoLauncher
- open(MessageCallback) - Method in interface nl.colorize.multimedialib.renderer.teavm.PeerjsBridge
- openPeerConnection() - Method in class nl.colorize.multimedialib.renderer.java2d.StandardNetwork
- openPeerConnection() - Method in interface nl.colorize.multimedialib.renderer.Network
-
Opens a peer-to-peer connection.
- openPeerConnection() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaNetwork
- opposite() - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns an
Angle
that is the exact opposite of this angle. - ORANGE - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- OrientationLockScreen - Class in nl.colorize.multimedialib.scene.effect
-
Displays an image and/or message to inform the user to change their device orientation.
- OrientationLockScreen(Graphic2D) - Constructor for class nl.colorize.multimedialib.scene.effect.OrientationLockScreen
- origin() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns the value of the
origin
record component. - origin() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
origin
record component. - ORIGIN - Static variable in record class nl.colorize.multimedialib.math.Angle
- ORIGIN - Static variable in record class nl.colorize.multimedialib.math.Coordinate
- ORIGIN - Static variable in record class nl.colorize.multimedialib.math.Point2D
- ORIGIN - Static variable in record class nl.colorize.multimedialib.math.Point3D
- outputDir - Variable in class nl.colorize.multimedialib.tool.IconTool
- outputDir - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- outputDir - Variable in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- outputDir - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- outputPrefix - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
P
- P - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- parent - Variable in class nl.colorize.multimedialib.stage.Container
- parent - Variable in class nl.colorize.multimedialib.stage.Primitive
- parent - Variable in class nl.colorize.multimedialib.stage.Sprite
- parent - Variable in class nl.colorize.multimedialib.stage.Text
- parseHex(String) - Static method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Parses a color from hexadecimal notation.
- ParticleWipe - Class in nl.colorize.multimedialib.scene.effect
-
Uses a particle wipe effect that can be used for screen transitions.
- ParticleWipe(Image, ColorRGB, float, boolean) - Constructor for class nl.colorize.multimedialib.scene.effect.ParticleWipe
-
Creates a new wipe transition based on the specified particle image.
- path() - Method in record class nl.colorize.multimedialib.renderer.FilePointer
-
Returns the value of the
path
record component. - pause() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- PeerConnection - Interface in nl.colorize.multimedialib.renderer
-
Access to a currently active peer-to-peer connection, which can be obtained from
Network
. - PeerjsBridge - Interface in nl.colorize.multimedialib.renderer.teavm
-
TeaVM interface for the
peerjs-bridge.js
JavaScript implementation. - PeerjsConnection - Class in nl.colorize.multimedialib.renderer.teavm
-
Implements the
PeerConnection
interface in Java, which is then bridged to the PeerJS implementation in JavaScript via TeaVM. - PeerjsConnection(PeerjsBridge) - Constructor for class nl.colorize.multimedialib.renderer.teavm.PeerjsConnection
- PeerMessage - Record Class in nl.colorize.multimedialib.renderer.teavm
-
Data structure for messages received from a peer-to-peer connection.
- PeerMessage(String, String) - Constructor for record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Creates an instance of a
PeerMessage
record class. - PerformanceMonitor - Class in nl.colorize.multimedialib.scene.effect
-
Depicts various performance statistics, both in terms of overall performance and on a frame-by-frame basis.
- PerformanceMonitor(boolean) - Constructor for class nl.colorize.multimedialib.scene.effect.PerformanceMonitor
- PERIOD - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- PHASE_FRAME_RENDER - Static variable in class nl.colorize.multimedialib.renderer.FrameStats
- PHASE_FRAME_TIME - Static variable in class nl.colorize.multimedialib.renderer.FrameStats
- PHASE_FRAME_UPDATE - Static variable in class nl.colorize.multimedialib.renderer.FrameStats
- pick(Iterable<T>) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Picks and returns a random element from the specified iterator.
- pick(List<T>) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Picks and returns a random element from the specified list.
- pick(Map<T, Integer>) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Picks a random key from the specified map.
- pick(Set<T>) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Picks and returns a random element from the specified set.
- pick(Stream<T>) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Picks and returns a random element from the specified stream.
- pickPoint(Rect) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Picks a random point somewhere within the specified rectangle.
- PINK - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- Pixi - Interface in nl.colorize.multimedialib.renderer.pixi
-
TeaVM interface stubs for the Pixi.js JavaScript library.
- Pixi.App - Interface in nl.colorize.multimedialib.renderer.pixi
- Pixi.DisplayObject - Interface in nl.colorize.multimedialib.renderer.pixi
- Pixi.Rectangle - Interface in nl.colorize.multimedialib.renderer.pixi
- Pixi.Texture - Interface in nl.colorize.multimedialib.renderer.pixi
- PixiBridge - Interface in nl.colorize.multimedialib.renderer.pixi
-
TeaVM interface for the
pixi-bridge.js
JavaScript implementation. - PixiGraphics - Class in nl.colorize.multimedialib.renderer.pixi
-
Renders graphics using the PixiJS JavaScript library.
- PixiGraphics(Canvas) - Constructor for class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- play() - Method in interface nl.colorize.multimedialib.stage.Audio
-
Plays this audio clip once, at its normal volume.
- play(int, boolean) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessAudio
- play(int, boolean) - Method in class nl.colorize.multimedialib.renderer.java2d.JavaSoundPlayer
- play(int, boolean) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXAudioPlayer
- play(int, boolean) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXAudio
- play(int, boolean) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaAudio
- play(int, boolean) - Method in interface nl.colorize.multimedialib.stage.Audio
-
Starts playing this audio clip.
- playAnimation(String) - Method in interface nl.colorize.multimedialib.stage.PolygonModel
- playAnimation(ModelAnimation) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- playAnimation(ModelAnimation) - Method in interface nl.colorize.multimedialib.stage.PolygonModel
- PLUS - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- Point2D - Record Class in nl.colorize.multimedialib.math
-
Immutable point within a two-dimensional space, with its X and Y coordinates defined with float precision.
- Point2D(float, float) - Constructor for record class nl.colorize.multimedialib.math.Point2D
-
Creates an instance of a
Point2D
record class. - Point3D - Record Class in nl.colorize.multimedialib.math
-
Immutable point within a three-dimensional space, with its X, Y, and Z coordinates defined with float precision.
- Point3D(float, float, float) - Constructor for record class nl.colorize.multimedialib.math.Point3D
-
Creates an instance of a
Point3D
record class. - Pointer - Class in nl.colorize.multimedialib.renderer
-
Represents a pointer device, which can be a mouse, a trackpad, or touch controls, depending on the current platform and device.
- Pointer(String) - Constructor for class nl.colorize.multimedialib.renderer.Pointer
- points() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Returns the value of the
points
record component. - points() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Returns the value of the
points
record component. - Polygon - Record Class in nl.colorize.multimedialib.math
-
A two-dimensional convex polygon with float precision coordinates.
- Polygon(float...) - Constructor for record class nl.colorize.multimedialib.math.Polygon
-
Creates an instance of a
Polygon
record class. - PolygonModel - Interface in nl.colorize.multimedialib.stage
-
An instance of a 3D polygon model that can added to the stage.
- post(String, Headers, PostData) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardNetwork
- post(String, Headers, PostData) - Method in interface nl.colorize.multimedialib.renderer.Network
-
Sends a HTTP POST request to the specified URL.
- post(String, Headers, PostData) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaNetwork
- preloadFontFace(String, String, ErrorCallback) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- prepareAnimationLoop() - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- prepareStage(Stage) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- prepareStage(Stage) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- prepareStage(Stage) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- prepareStage(Stage) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- prepareStage(Stage) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- prepareStage(Stage) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- prepareStage(Stage) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
-
Prepares visiting the stage.
- Primitive - Class in nl.colorize.multimedialib.stage
-
Draws a graphical primitive to the screen.
- Primitive(Shape, ColorRGB) - Constructor for class nl.colorize.multimedialib.stage.Primitive
- Primitive(Shape, ColorRGB, float) - Constructor for class nl.colorize.multimedialib.stage.Primitive
- projectName - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- PURPLE - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
Q
R
- r() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns the value of the
r
record component. - R - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- radius() - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns the value of the
radius
record component. - RandomGenerator - Class in nl.colorize.multimedialib.math
-
Utility class to help with random numbers.
- randomSeed() - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Changes the random number generator used by this class to generate "true" random numbers.
- Rect - Record Class in nl.colorize.multimedialib.math
-
Immutable two-dimensional rectangle with float precision.
- Rect(float, float, float, float) - Constructor for record class nl.colorize.multimedialib.math.Rect
-
Creates an instance of a
Rect
record class. - RED - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- Region - Record Class in nl.colorize.multimedialib.math
-
Rectangular region with integer coordinates.
- Region(int, int, int, int) - Constructor for record class nl.colorize.multimedialib.math.Region
-
Creates an instance of a
Region
record class. - registerErrorHandler(ErrorCallback) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- removeAfterwards(Graphic2D...) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Deprecated.Use
Effect.linkGraphics(Graphic2D...)
instead. - removeChild(Pixi.DisplayObject) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- removeChild(Graphic2D) - Method in class nl.colorize.multimedialib.stage.Container
- render() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- render() - Method in interface nl.colorize.multimedialib.renderer.three.ThreeBridge
- render3D(World3D) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- Renderer - Interface in nl.colorize.multimedialib.renderer
-
The renderer acts as the entry point from the application to the underlying platform, managing the animation loop, graphics, audio, and input.
- RendererException - Exception Class in nl.colorize.multimedialib.renderer
-
Indicates an error that has caused the renderer to terminate the animation loop.
- RendererException(String) - Constructor for exception class nl.colorize.multimedialib.renderer.RendererException
- RendererException(String, Throwable) - Constructor for exception class nl.colorize.multimedialib.renderer.RendererException
- RendererLauncher - Class in nl.colorize.multimedialib.renderer
-
Creates and initialize
Renderer
instances. - rendererName - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- repeat(int) - Method in class nl.colorize.multimedialib.stage.Animation
-
Returns a new animation with the same frames as this one, but repeated by the specified number of times.
- replaceTimer(Stopwatch) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Replaces the
Stopwatch
that is used as a timer for the animation loop and frame updates. - reposition(float, float) - Method in interface nl.colorize.multimedialib.math.Shape
-
Returns a new
Shape
instance that is repositioned by the specified X and Y offset. - reposition(Point2D) - Method in record class nl.colorize.multimedialib.math.Circle
- reposition(Point2D) - Method in record class nl.colorize.multimedialib.math.Line
- reposition(Point2D) - Method in record class nl.colorize.multimedialib.math.Polygon
- reposition(Point2D) - Method in record class nl.colorize.multimedialib.math.Rect
- reposition(Point2D) - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- reposition(Point2D) - Method in interface nl.colorize.multimedialib.math.Shape
-
Returns a new
Shape
instance that is repositioned by the specified X and Y offset. - requestState(S) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Requests the state machine to transition into the specified state at the earliest opportunity.
- requestState(S, float) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Requests the state machine to transition into the specified state at the earliest opportunity.
- requestTextInput(String, String) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- requestTextInput(String, String) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Shows a dialog window with a text input field.
- requestTextInput(String, String) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
- requestTextInput(String, String) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- requestTextInput(String, String) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- requestTextInput(String, String) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- requestTextInput(String, String, MessageCallback) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- reset() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- reset() - Method in class nl.colorize.multimedialib.scene.Timer
- resetCurrentGraphics() - Method in class nl.colorize.multimedialib.stage.Sprite
-
Leaves the sprite in its current state, but resets the graphics for that state to play from the beginning.
- resetGraphicsCount() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- resize(int, int) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- resize(SceneContext, int, int) - Method in interface nl.colorize.multimedialib.scene.Scene
-
Called when the canvas size has changed, for example because the window has been resized or because the device orientation has changed.
- resizeScreen(int, int) - Method in class nl.colorize.multimedialib.renderer.Canvas
-
Sets the screen dimensions to the specified values.
- resourceDir - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- restartBatch() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- resume() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- reverse() - Method in class nl.colorize.multimedialib.stage.Animation
-
Returns a new animation with the same frames as this one, but with all frames and corresponding frame times in reverse compared to the original.
- RIGHT - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- RIGHT - Enum constant in enum class nl.colorize.multimedialib.stage.Align
- run() - Method in class nl.colorize.multimedialib.tool.IconTool
- run() - Method in class nl.colorize.multimedialib.tool.ImageManipulationTool
- run() - Method in class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- run() - Method in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
S
- S - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- saveApplicationData(String, String) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
- saveApplicationData(String, Properties) - Method in class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- saveApplicationData(String, Properties) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- saveApplicationData(String, Properties) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Saves the application data for the application with the specified name.
- saveApplicationData(String, Properties) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- scale() - Static method in interface nl.colorize.multimedialib.renderer.ScaleStrategy
-
Will try to match the preferred size, scaling the canvas if necessary.
- scale(Canvas) - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Derives a version of this font that is scaled to match the specified display mode.
- ScaleStrategy - Interface in nl.colorize.multimedialib.renderer
-
Determines how the
Canvas
should be scaled and zoomed when viewed on devices with different screen sizes, resolutions, and aspect ratios. - scaleToFit(Sprite, Canvas, boolean) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
-
Changes a sprite's scale until it fits the canvas.
- Scene - Interface in nl.colorize.multimedialib.scene
-
MultimediaLib applications are split into a number of scenes, each representing a discrete phase of the application.
- SceneContext - Class in nl.colorize.multimedialib.scene
-
Provides access to the contents of the currently active scene, including the stage, the scene's graphics, and the underlying renderer.
- SceneContext(Renderer, MediaLoader, InputDevice, Network) - Constructor for class nl.colorize.multimedialib.scene.SceneContext
-
Creates a new
SceneContext
from the specified renderer. - seed(long) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Changes the random number generator used by this class to generate deterministic pseudo-random numbers based on the specified seed value.
- SegmentedLine - Record Class in nl.colorize.multimedialib.math
-
Line that consists of multiple segments, where each segment is a straight line but the combination still allows for more complex line shapes.
- SegmentedLine(List<Point2D>) - Constructor for record class nl.colorize.multimedialib.math.SegmentedLine
-
Creates an instance of a
SegmentedLine
record class. - sendMessage(String) - Method in interface nl.colorize.multimedialib.renderer.PeerConnection
-
Sends the specified data message to all connected peers.
- sendMessage(String) - Method in interface nl.colorize.multimedialib.renderer.teavm.PeerjsBridge
- sendMessage(String) - Method in class nl.colorize.multimedialib.renderer.teavm.PeerjsConnection
- sendMessageToPeer(String, String) - Method in interface nl.colorize.multimedialib.renderer.teavm.PeerjsBridge
- set(int, int, E) - Method in class nl.colorize.multimedialib.math.Grid
-
Adds or changed the value of the grid cell located at the specified coordinates.
- set(Transform) - Method in class nl.colorize.multimedialib.stage.Transform
- setActive(boolean) - Method in class nl.colorize.multimedialib.scene.effect.PerformanceMonitor
- setAlign(Align) - Method in class nl.colorize.multimedialib.stage.Text
- setAlpha(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setAlpha(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setAmbientLight(ColorRGB) - Method in class nl.colorize.multimedialib.stage.World3D
- setAngle(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setAppMenu(ApplicationMenuListener) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setBackgroundColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.Stage
- setBarBackgroundAlpha(int) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setBarBackgroundColor(ColorRGB) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setBarBorderColor(ColorRGB) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setBarBorderStroke(int) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setBarForegroundColor(ColorRGB) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setBarHeight(int) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setBarWidth(int) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setCameraPosition(Point3D) - Method in class nl.colorize.multimedialib.stage.World3D
- setCameraTarget(Point3D) - Method in class nl.colorize.multimedialib.stage.World3D
- setColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.Primitive
- setContext(SceneContext) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setDelay(Timer) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setDisplayMode(DisplayMode) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setEmbedded(boolean) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setFlipHorizontal(boolean) - Method in class nl.colorize.multimedialib.stage.Transform
- setFlipVertical(boolean) - Method in class nl.colorize.multimedialib.stage.Transform
- setFont(FontFace) - Method in class nl.colorize.multimedialib.stage.Text
- setFrameTime(float) - Method in class nl.colorize.multimedialib.stage.Animation
-
Changes the frame time for all frames within this animation.
- setFrameTime(int, float) - Method in class nl.colorize.multimedialib.stage.Animation
-
Changes the frame time for the frame located at the specified index.
- setFrameTimes(List<Float>) - Method in class nl.colorize.multimedialib.stage.Animation
-
Changes the frame time for all frames within this animation.
- setFullscreen(boolean) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setGraphics(StageVisitor) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setGraphicsMode(GraphicsMode) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setHeight(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- setIconFile(FilePointer) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setKeyboardAvailable(boolean) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setLightColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.World3D
- setLightPosition(Point3D) - Method in class nl.colorize.multimedialib.stage.World3D
- setLineHeight(float) - Method in class nl.colorize.multimedialib.stage.Text
- setLines(List<String>) - Method in class nl.colorize.multimedialib.stage.Text
- setLineWidth(int) - Method in class nl.colorize.multimedialib.stage.Text
- setLoaded(boolean) - Method in class nl.colorize.multimedialib.stage.LoadStatus
- setMaskColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.Transform
- setMediaLoader(HeadlessMediaLoader) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setNetwork(Network) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setOriginalTexture(Pixi.Texture) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setParent(Graphic2D) - Method in class nl.colorize.multimedialib.stage.Primitive
- setParent(Graphic2D) - Method in class nl.colorize.multimedialib.stage.Text
- setPointer(Point2D) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setPointerPressed(boolean) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setPointerReleased(boolean) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setPosition(float, float) - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Deprecated.Prefer using
getTransform().setPosition(x, y)
. - setPosition(float, float) - Method in class nl.colorize.multimedialib.stage.Transform
- setPosition(float, float, float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setPosition(Point2D) - Method in class nl.colorize.multimedialib.renderer.Pointer
- setPosition(Point2D) - Method in class nl.colorize.multimedialib.stage.Transform
- setPosition(Point3D) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setRotation(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setRotation(float, float, float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setRotation(Angle) - Method in class nl.colorize.multimedialib.stage.Transform
- setRotationX(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setRotationY(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setRotationZ(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setScale(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setScale(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setScale(float, float, float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setScaleX(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setScaleX(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setScaleY(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setScaleY(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setScaleZ(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setScreenBackgroundColor(ColorRGB) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setShape(Shape) - Method in class nl.colorize.multimedialib.stage.Primitive
- setState(int) - Method in class nl.colorize.multimedialib.renderer.Pointer
- setStroke(float) - Method in class nl.colorize.multimedialib.stage.Primitive
- setText(String) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setText(String) - Method in class nl.colorize.multimedialib.stage.Text
- setText(List<String>) - Method in class nl.colorize.multimedialib.stage.Text
- setTexture(Pixi.Texture) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setTime(float) - Method in class nl.colorize.multimedialib.scene.Timer
- setTime(float) - Method in class nl.colorize.multimedialib.stage.LoadStatus
- setTintEnabled(boolean) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setTitle(String) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setTouchAvailable(boolean) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setTransform(Transform) - Method in class nl.colorize.multimedialib.stage.Primitive
- setTransform(Transform) - Method in class nl.colorize.multimedialib.stage.Text
- setVisible(boolean) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setVisible(boolean) - Method in class nl.colorize.multimedialib.stage.Transform
- setWidth(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- setWindowOptions(WindowOptions) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- setWindowSize(Size) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setX(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setX(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- setX(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setY(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.DisplayObject
- setY(float) - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Rectangle
- setY(float) - Method in class nl.colorize.multimedialib.stage.Transform
- Shape - Interface in nl.colorize.multimedialib.math
-
Shared interface for all two-dimensional shapes.
- SHIFT - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- shouldVisitAllGraphics() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- shouldVisitAllGraphics() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- shouldVisitAllGraphics() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- shouldVisitAllGraphics() - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- shouldVisitAllGraphics() - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- shouldVisitAllGraphics() - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- shouldVisitAllGraphics() - Method in interface nl.colorize.multimedialib.stage.StageVisitor
-
Indicates whether this visitor should visit all graphics, or only graphics that are currently visible.
- shuffle(List<T>) - Static method in class nl.colorize.multimedialib.math.RandomGenerator
-
Returns a new list that contains the same elements as the original, but with all elements shuffled to be in random order.
- sibling(String) - Method in record class nl.colorize.multimedialib.renderer.FilePointer
-
Creates a new file pointer with the specified name, that is located in the same parent directory as this file.
- size() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
size
record component. - Size - Record Class in nl.colorize.multimedialib.math
-
Simple data structure for representing width and height in integer precision.
- Size(int, int) - Constructor for record class nl.colorize.multimedialib.math.Size
-
Creates an instance of a
Size
record class. - SPACEBAR - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- SplashScreen - Class in nl.colorize.multimedialib.scene
-
Displays a loading screen with a progress bar while the renderer is loading media files asynchronously.
- SplashScreen(MediaAssetStore, Supplier<Scene>) - Constructor for class nl.colorize.multimedialib.scene.SplashScreen
- Sprite - Class in nl.colorize.multimedialib.stage
-
Static or animated image that can be displayed on the stage.
- Sprite() - Constructor for class nl.colorize.multimedialib.stage.Sprite
-
Creates a sprite without default graphics.
- Sprite(Animation) - Constructor for class nl.colorize.multimedialib.stage.Sprite
-
Creates a sprite that uses the specified animation as its default graphics.
- Sprite(Image) - Constructor for class nl.colorize.multimedialib.stage.Sprite
-
Creates a sprite that uses the specified image as its default graphics.
- SpriteAtlas - Class in nl.colorize.multimedialib.stage
-
Packs a number of images into a larger image, with each image existing as a named region.
- SpriteAtlas() - Constructor for class nl.colorize.multimedialib.stage.SpriteAtlas
- SpriteAtlasLoader - Class in nl.colorize.multimedialib.renderer
-
Loads a sprite atlas based on the libGDX
.atlas
file format. - SpriteAtlasLoader(MediaLoader) - Constructor for class nl.colorize.multimedialib.renderer.SpriteAtlasLoader
- SpriteAtlasPacker - Class in nl.colorize.multimedialib.tool
-
Command line tool that generates a sprite atlas from a directory of images.
- SpriteAtlasPacker() - Constructor for class nl.colorize.multimedialib.tool.SpriteAtlasPacker
- Stage - Class in nl.colorize.multimedialib.stage
-
The stage contains all graphics that are part of the current scene.
- Stage(GraphicsMode, Canvas, FrameStats) - Constructor for class nl.colorize.multimedialib.stage.Stage
- StageVisitor - Interface in nl.colorize.multimedialib.stage
-
Visitor interface that visits all graphics currently on the stage, visiting them in the order in which they should be drawn.
- StandardMediaLoader - Class in nl.colorize.multimedialib.renderer.java2d
-
Uses APIs from the Java standard library to load media files: Java2D and ImageIO for loading images, Java Sound for loading audio clips, and AWT for loading fonts.
- StandardMediaLoader() - Constructor for class nl.colorize.multimedialib.renderer.java2d.StandardMediaLoader
- StandardNetwork - Class in nl.colorize.multimedialib.renderer.java2d
-
Sends HTTP requests using the HTTP client included as part of the Java standard library.
- StandardNetwork() - Constructor for class nl.colorize.multimedialib.renderer.java2d.StandardNetwork
- start() - Method in record class nl.colorize.multimedialib.math.Line
-
Returns the value of the
start
record component. - start(Stage) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXAnimationLoop
- start(SceneContext) - Method in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- start(SceneContext) - Method in class nl.colorize.multimedialib.scene.effect.PerformanceMonitor
- start(SceneContext) - Method in interface nl.colorize.multimedialib.scene.Scene
-
Initialization logic that should be performed when the scene is started.
- start(SceneContext) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- start(SceneContext) - Method in class nl.colorize.multimedialib.tool.Demo2D
- start(SceneContext) - Method in class nl.colorize.multimedialib.tool.Demo3D
- start(Scene, ErrorHandler) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- start(Scene, ErrorHandler) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- start(Scene, ErrorHandler) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- start(Scene, ErrorHandler) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- start(Scene, ErrorHandler) - Method in interface nl.colorize.multimedialib.renderer.Renderer
-
Initializes this renderer and starts playing the requested scene.
- start(Scene, ErrorHandler) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- STATE_IDLE - Static variable in class nl.colorize.multimedialib.renderer.Pointer
- STATE_PRESSED - Static variable in class nl.colorize.multimedialib.renderer.Pointer
- STATE_RELEASED - Static variable in class nl.colorize.multimedialib.renderer.Pointer
- StateMachine<S> - Class in nl.colorize.multimedialib.scene
-
Finite state machine that allows a number of possible states, but can only have one currently active state at any point in time.
- StateMachine(S) - Constructor for class nl.colorize.multimedialib.scene.StateMachine
- stop() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessAudio
- stop() - Method in class nl.colorize.multimedialib.renderer.java2d.JavaSoundPlayer
- stop() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXAudioPlayer
- stop() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXAudio
- stop() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaAudio
- stop() - Method in interface nl.colorize.multimedialib.stage.Audio
-
Stops playback of this audio clip and resets the playhead to the start of the audio clip.
- stopAfter(float) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a handler that will mark the effect as completed once the specified period of time has elapsed.
- stopAfterAnimation(Sprite) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a handler that will mark the effect as completed once the specified sprite animation has ended.
- stopIf(BooleanSupplier) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a handler that will mark the effect as completed once the specified condition is met.
- stopNever() - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a handler that will always return false, and will therefore make the effect continue indefinitely.
- stopNow() - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Adds a handler that will mark the effect as completed during the next frame update.
- stream() - Method in class nl.colorize.multimedialib.math.Grid
-
Returns a stream containing all elements in this grid.
- stream(int, int, int, int) - Method in class nl.colorize.multimedialib.math.Grid
-
Returns a stream containing all elements in the specified rectangular sub-grid.
- subdivide() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Subdivides this polygon into a number of triangles.
- subImageSize - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- SwipeTracker - Class in nl.colorize.multimedialib.scene.effect
-
Sub-scene that can be used to track swipe gestures for both mouse pointers and touch controls.
- SwipeTracker(float) - Constructor for class nl.colorize.multimedialib.scene.effect.SwipeTracker
- switchMode(boolean, boolean) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
-
Switches graphics modes.
- syncFrame() - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Synchronizes between "native" frames and application frame updates.
T
- T - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- TAB - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- takeScreenshot(FilePointer) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- takeScreenshot(FilePointer) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- takeScreenshot(FilePointer) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- takeScreenshot(FilePointer) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- takeScreenshot(FilePointer) - Method in interface nl.colorize.multimedialib.renderer.Renderer
-
Takes a screenshot of the renderer's current graphics, then saves the screenshot to a PNG image.
- takeScreenshot(FilePointer) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- TeaAudio - Class in nl.colorize.multimedialib.renderer.teavm
-
Plays audio clips using the HTML5 media API that is supported by all modern browsers.
- TeaAudio(Subscribable<HTMLAudioElement>) - Constructor for class nl.colorize.multimedialib.renderer.teavm.TeaAudio
- TeaDemoLauncher - Class in nl.colorize.multimedialib.tool
-
Launcher for the TeaVM version of the demo application.
- TeaDemoLauncher() - Constructor for class nl.colorize.multimedialib.tool.TeaDemoLauncher
- TeaGraphics - Interface in nl.colorize.multimedialib.renderer.teavm
-
Base interface for the different JavaScript graphics frameworks supported by the TeaVM renderer.
- TeaImage - Class in nl.colorize.multimedialib.renderer.teavm
-
Image implementation that is based on an HTML
img
element. - TeaImage(Subscribable<HTMLImageElement>, Region) - Constructor for class nl.colorize.multimedialib.renderer.teavm.TeaImage
- TeaInputDevice - Class in nl.colorize.multimedialib.renderer.teavm
-
Captures browser events for various input methods, and makes them accessible from the animation loop.
- TeaInputDevice(Canvas, TeaGraphics) - Constructor for class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- TeaMediaLoader - Class in nl.colorize.multimedialib.renderer.teavm
-
Delegates media loading to the browser.
- TeaMediaLoader() - Constructor for class nl.colorize.multimedialib.renderer.teavm.TeaMediaLoader
- TeaNetwork - Class in nl.colorize.multimedialib.renderer.teavm
-
Sends HTTP requests by delegating them to JavaScript and sending them as AJAX requests.
- TeaNetwork() - Constructor for class nl.colorize.multimedialib.renderer.teavm.TeaNetwork
- TeaRenderer - Class in nl.colorize.multimedialib.renderer.teavm
-
Renderer based on TeaVM that is transpiled to JavaScript and runs in the browser.
- TeaVMTranspilerTool - Class in nl.colorize.multimedialib.tool
-
Transpiles MultimediaLib applications to JavaScript using TeaVM.
- TeaVMTranspilerTool() - Constructor for class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- terminate() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- terminate() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- terminate() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- terminate() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- terminate() - Method in interface nl.colorize.multimedialib.renderer.Renderer
-
Ends the animation loop, stops this renderer, and quits the application.
- terminate() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- terminate() - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Terminates the application.
- Text - Class in nl.colorize.multimedialib.stage
-
Draws text to the screen using the specified TrueType font.
- Text(String, FontFace) - Constructor for class nl.colorize.multimedialib.stage.Text
- Text(String, FontFace, Align) - Constructor for class nl.colorize.multimedialib.stage.Text
- Text(String, FontFace, Align, int) - Constructor for class nl.colorize.multimedialib.stage.Text
- Three - Interface in nl.colorize.multimedialib.renderer.three
-
TeaVM interface stubs for the Three.js JavaScript library.
- ThreeBridge - Interface in nl.colorize.multimedialib.renderer.three
-
TeaVM interface for the
three-bridge.js
JavaScript implementation. - ThreeGraphics - Class in nl.colorize.multimedialib.renderer.three
-
Renders 2D and 3D graphics using the three.js JavaScript library.
- ThreeGraphics(Canvas) - Constructor for class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- Timer - Class in nl.colorize.multimedialib.scene
-
Utility class for time-based behavior.
- Timer(float) - Constructor for class nl.colorize.multimedialib.scene.Timer
-
Creates a new timer with the specified duration in seconds.
- toCanvasX(int) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toCanvasX(Point2D) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toCanvasY(int) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toCanvasY(Point2D) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toColor(Color) - Static method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- toColor(ColorRGB) - Static method in class nl.colorize.multimedialib.renderer.libgdx.GDXMediaLoader
- toDirectLine() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Returns a direct line that points from this segmented line's head to its tail.
- toHex() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns this color in hexidecimal notation.
- toPoint() - Method in record class nl.colorize.multimedialib.math.Vector
- toPolygon() - Method in record class nl.colorize.multimedialib.math.Rect
- toScreenX(float) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toScreenX(Point2D) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toScreenY(float) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toScreenY(float) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- toScreenY(Point2D) - Method in class nl.colorize.multimedialib.renderer.Canvas
- toString() - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Line
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Size
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns a string representation of this record class.
- toString() - Method in class nl.colorize.multimedialib.renderer.Canvas
- toString() - Method in record class nl.colorize.multimedialib.renderer.DisplayMode
-
Returns a string representation of this record class.
- toString() - Method in record class nl.colorize.multimedialib.renderer.FilePointer
-
Returns a string representation of this record class.
- toString() - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- toString() - Method in class nl.colorize.multimedialib.renderer.java2d.AWTImage
- toString() - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DRenderer
- toString() - Method in class nl.colorize.multimedialib.renderer.jfx.JFXRenderer
- toString() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- toString() - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXRenderer
- toString() - Method in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Returns a string representation of this record class.
- toString() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaAudio
- toString() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaImage
- toString() - Method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- toString() - Method in class nl.colorize.multimedialib.scene.Timer
- toString() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns a string representation of this record class.
- toString() - Method in class nl.colorize.multimedialib.stage.Container
- toString() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns a string representation of this record class.
- toString() - Method in class nl.colorize.multimedialib.stage.LoadStatus
- toString() - Method in record class nl.colorize.multimedialib.stage.ModelAnimation
-
Returns a string representation of this record class.
- toString() - Method in class nl.colorize.multimedialib.stage.Primitive
- toString() - Method in class nl.colorize.multimedialib.stage.Sprite
- toString() - Method in class nl.colorize.multimedialib.stage.Stage
-
Returns a textual representation of the stage's current contents, which can be used for testing and debugging purposes.
- toString() - Method in class nl.colorize.multimedialib.stage.Text
- toString() - Method in class nl.colorize.multimedialib.stage.World3D
- track(FilePointer, Subscribable<?>) - Static method in class nl.colorize.multimedialib.stage.LoadStatus
-
Creates a
LoadStatus
that tracks the status of the asynchronous operation represented by theSubscribable
. - Transform - Class in nl.colorize.multimedialib.stage
-
Defines the list of transformation properties that should be applied to graphics when displaying them.
- Transform() - Constructor for class nl.colorize.multimedialib.stage.Transform
- Transform3D - Class in nl.colorize.multimedialib.stage
-
Transformation matrix that controls how a 3D polygon model is displayed on the stage.
- Transform3D() - Constructor for class nl.colorize.multimedialib.stage.Transform3D
- type() - Method in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Returns the value of the
type
record component. - TYPE_CONNECT - Static variable in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Message type for when a new peer has connected.
- TYPE_DATA - Static variable in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Message type for when a data message has been received.
- TYPE_DISCONNECT - Static variable in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Message type for when a previously connected peer has been disconnected, for whatever reason.
- TYPE_ERROR - Static variable in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Message type used for connection errors.
- TYPE_INIT - Static variable in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Message type for when this peer connection has completed initialization.
U
- U - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- UP - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- Updatable - Interface in nl.colorize.multimedialib.scene
-
Standardized interface for all objects that should be updated every frame during the animation loop.
- update() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Texture
- update(float) - Method in class nl.colorize.multimedialib.renderer.headless.HeadlessRenderer
- update(float) - Method in class nl.colorize.multimedialib.renderer.java2d.AWTInput
-
Copies all events that have been received during the last frame to this class' internal state.
- update(float) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXInput
- update(float) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXInput
- update(float) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXModel
- update(float) - Method in class nl.colorize.multimedialib.renderer.Pointer
- update(float) - Method in class nl.colorize.multimedialib.renderer.teavm.TeaInputDevice
- update(float) - Method in class nl.colorize.multimedialib.scene.SceneContext
-
Performs an application frame update.
- update(float) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Updates this state machine based on the elapsed relative time, as specified by the
Updatable
interface. - update(float) - Method in class nl.colorize.multimedialib.scene.Timer
- update(float) - Method in interface nl.colorize.multimedialib.scene.Updatable
-
Updates this object for the current frame.
- update(float) - Method in class nl.colorize.multimedialib.stage.World3D
- update(LineEvent) - Method in class nl.colorize.multimedialib.renderer.java2d.JavaSoundPlayer
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.effect.Effect
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.effect.OrientationLockScreen
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.effect.PerformanceMonitor
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.effect.SwipeTracker
- update(SceneContext, float) - Method in interface nl.colorize.multimedialib.scene.Scene
-
Called during every frame update for as long as the scene is active.
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.tool.Demo2D
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.tool.Demo3D
- updateGraphics(Timer) - Method in class nl.colorize.multimedialib.stage.Container
- updateGraphics(Timer) - Method in interface nl.colorize.multimedialib.stage.Graphic2D
-
Updates this gaphic's state based on the global animation timer.
- updateGraphics(Timer) - Method in class nl.colorize.multimedialib.stage.Primitive
- updateGraphics(Timer) - Method in class nl.colorize.multimedialib.stage.Sprite
- updateGraphics(Timer) - Method in class nl.colorize.multimedialib.stage.Text
- updateUvs() - Method in interface nl.colorize.multimedialib.renderer.pixi.Pixi.Texture
V
- V - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- value() - Method in record class nl.colorize.multimedialib.renderer.teavm.PeerMessage
-
Returns the value of the
value
record component. - valueOf(String) - Static method in enum class nl.colorize.multimedialib.renderer.GraphicsMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.colorize.multimedialib.renderer.KeyCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class nl.colorize.multimedialib.stage.Align
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class nl.colorize.multimedialib.renderer.GraphicsMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.colorize.multimedialib.renderer.KeyCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class nl.colorize.multimedialib.stage.Align
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Vector - Record Class in nl.colorize.multimedialib.math
-
A two-dimensional vector expressed using an origin, a direction, and a magnitude.
- Vector(float, float) - Constructor for record class nl.colorize.multimedialib.math.Vector
- Vector(Angle, float) - Constructor for record class nl.colorize.multimedialib.math.Vector
- Vector(Point2D, Angle, float) - Constructor for record class nl.colorize.multimedialib.math.Vector
-
Creates an instance of a
Vector
record class. - verticalOffset - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- visit(StageVisitor) - Method in class nl.colorize.multimedialib.stage.Stage
-
Visits all graphics currently on the stage, in the order in which they should be drawn.
- visitContainer(Container, Transform) - Method in class nl.colorize.multimedialib.renderer.java2d.Java2DGraphicsContext
- visitContainer(Container, Transform) - Method in class nl.colorize.multimedialib.renderer.jfx.JFXGraphics
- visitContainer(Container, Transform) - Method in class nl.colorize.multimedialib.renderer.libgdx.GDXGraphics
- visitContainer(Container, Transform) - Method in class nl.colorize.multimedialib.renderer.pixi.PixiGraphics
- visitContainer(Container, Transform) - Method in class nl.colorize.multimedialib.renderer.teavm.HtmlCanvasGraphics
- visitContainer(Container, Transform) - Method in class nl.colorize.multimedialib.renderer.three.ThreeGraphics
- visitContainer(Container, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
-
Visits a container.
W
- W - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- WHITE - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- width() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
width
record component. - width() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
width
record component. - width() - Method in record class nl.colorize.multimedialib.math.Size
-
Returns the value of the
width
record component. - WindowOptions - Class in nl.colorize.multimedialib.renderer
-
Defines the window appearance on desktop platforms.
- WindowOptions(String) - Constructor for class nl.colorize.multimedialib.renderer.WindowOptions
- WindowOptions(String, FilePointer, boolean) - Constructor for class nl.colorize.multimedialib.renderer.WindowOptions
- withCanvas(DisplayMode) - Static method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- withDirection(float) - Method in record class nl.colorize.multimedialib.math.Vector
- withDirection(Angle) - Method in record class nl.colorize.multimedialib.math.Vector
- withLinkedGraphics(Class<T>, Consumer<T>) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Deprecated.
- withLinkedGraphics(Consumer<Graphic2D>) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Deprecated.
- withMagnitude(float) - Method in record class nl.colorize.multimedialib.math.Vector
- withPixi(DisplayMode) - Static method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- withThree(DisplayMode) - Static method in class nl.colorize.multimedialib.renderer.teavm.TeaRenderer
- World3D - Class in nl.colorize.multimedialib.stage
-
Access to all 3D graphicson the stage, only avalailable when using a renderer that supports 3D graphics.
- World3D() - Constructor for class nl.colorize.multimedialib.stage.World3D
- writeClipboard(String, ErrorCallback) - Method in interface nl.colorize.multimedialib.renderer.teavm.BrowserBridge
X
- x() - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Returns the value of the
x
record component. - x() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the value of the
x
record component. - x() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the value of the
x
record component. - x() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
x
record component. - x() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
x
record component. - X - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- x1() - Method in record class nl.colorize.multimedialib.math.Region
Y
- y() - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Returns the value of the
y
record component. - y() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the value of the
y
record component. - y() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the value of the
y
record component. - y() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
y
record component. - y() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
y
record component. - Y - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- y1() - Method in record class nl.colorize.multimedialib.math.Region
- YELLOW - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
Z
- z() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the value of the
z
record component. - Z - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form