Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- absoluteDifference(Angle) - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns the difference between this angle and the specified other angle, in the range between 0 and 180 degrees.
- add(String, Image, Region) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
- addChild(StageNode2D) - Method in class nl.colorize.multimedialib.stage.Container
- addChild(StageNode2D, 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(StageNode2D, 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.
- addChild(StageNode3D) - Method in class nl.colorize.multimedialib.stage.Group
- addChildContainer() - Method in class nl.colorize.multimedialib.stage.Container
-
Convenience method that creates a new container, adds it as a child to this container, then returns the created child container.
- addChildGroup() - Method in class nl.colorize.multimedialib.stage.Group
-
Convenience method that creates a new group, adds it as a child to this group, then returns the created child group.
- 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(StageNode2D, 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.
- addGroup(String) - Method in class nl.colorize.multimedialib.stage.Stage
-
Creates a new group with the specified name, then adds it to the root container for 3D graphics to make it part of the stage.
- 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.
- alter(int, int, int) - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns a new color that adds the specified delta to this color's RGB components.
- 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
Anglerecord 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.
- animate(Timer) - Method in class nl.colorize.multimedialib.stage.Container
- animate(Timer) - Method in class nl.colorize.multimedialib.stage.Group
- animate(Timer) - Method in class nl.colorize.multimedialib.stage.Light
- animate(Timer) - Method in class nl.colorize.multimedialib.stage.Primitive
- animate(Timer) - Method in class nl.colorize.multimedialib.stage.Sprite
- animate(Timer) - Method in interface nl.colorize.multimedialib.stage.StageNode2D
-
Called by the renderer at the end of frame updates, while rendering the stage.
- animate(Timer) - Method in interface nl.colorize.multimedialib.stage.StageNode3D
-
Called by the renderer at the end of frame updates, while rendering the stage.
- animate(Timer) - Method in class nl.colorize.multimedialib.stage.Text
- 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.
- applyColor(ColorRGB) - Method in interface nl.colorize.multimedialib.stage.Mesh
- applyDynamicTexture(Sprite) - Method in interface nl.colorize.multimedialib.stage.Mesh
- applyTexture(Image) - Method in interface nl.colorize.multimedialib.stage.Mesh
- 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.
- around(Point3D, float, float, float) - Static method in record class nl.colorize.multimedialib.math.Box
-
Factory method that creates a box based on the location of its center point.
- aroundOrigin(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. - aroundOrigin(float, float, float) - Static method in record class nl.colorize.multimedialib.math.Box
-
Factory method that creates a box with its center point located at the origin (0, 0, 0).
- 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 interface nl.colorize.multimedialib.scene.SceneContext
-
Wraps a
Runnableso that is acts as a sub-scene for the currently active scene. - attach(Scene) - Method in interface 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(SceneContext, Scene) - Method in class nl.colorize.multimedialib.scene.SceneManager
-
Attaches a sub-scene to the currently active scene.
- attach(Updatable) - Method in interface nl.colorize.multimedialib.scene.SceneContext
-
Attaches an
Updatableto act as a sub-scene for the currently active scene. - attachGlobal(Scene) - Method in interface 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.
- attachGlobal(SceneContext, Scene) - Method in class nl.colorize.multimedialib.scene.SceneManager
-
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.
B
- b() - Method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Returns the value of the
brecord 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(). - BLACK - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- BLUE - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- BLUE_BUTTON - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- Box - Record Class in nl.colorize.multimedialib.math
-
Immutable three-dimensional box with float precision.
- Box(float, float, float, float, float, float) - Constructor for record class nl.colorize.multimedialib.math.Box
-
Creates an instance of a
Boxrecord class. - BUFFER_CAPACITY - Static variable in class nl.colorize.multimedialib.renderer.FrameStats
- buildId - Variable in class nl.colorize.multimedialib.tool.TeaVMTranspilerTool
- BUTTON_HEIGHT - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- BUTTON_WIDTH - Static variable in class nl.colorize.multimedialib.tool.Demo2D
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.
- Canvas - Class in nl.colorize.multimedialib.renderer
-
The application "canvas" defines how the renderer should display graphics for the current screen size and resolution.
- Canvas(int, int, ScaleStrategy) - Constructor for class nl.colorize.multimedialib.renderer.Canvas
- Canvas(Size, ScaleStrategy) - Constructor for class nl.colorize.multimedialib.renderer.Canvas
- canvasZoom - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- castPickRay(Point2D, Box) - Method in interface nl.colorize.multimedialib.scene.SceneContext
-
Casts a pick ray from the specified 2D canvas position, and returns true if the pick ray intersects with the specified 3D world coordinates.
- center() - Method in record class nl.colorize.multimedialib.math.Circle
-
Returns the value of the
centerrecord component. - center() - Method in record class nl.colorize.multimedialib.math.Sphere
-
Returns the value of the
centerrecord 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
nand returns the result. - 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 interface nl.colorize.multimedialib.scene.SceneContext
-
Requests to change the active scene after the current frame update has been completed.
- changeScene(Scene) - Method in class nl.colorize.multimedialib.scene.SceneManager
-
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) - Constructor for record class nl.colorize.multimedialib.math.Circle
-
Creates a circle with its center point located at the origin (0, 0).
- 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
Circlerecord class. - CIRCLE - Static variable in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- clear() - Method in class nl.colorize.multimedialib.stage.Stage
-
Removes all 2D and 3D graphics from the stage.
- clearChildren() - Method in class nl.colorize.multimedialib.stage.Container
- clearChildren() - Method in class nl.colorize.multimedialib.stage.Group
- clearPointerState() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Deprecated.
- clearState() - Method in class nl.colorize.multimedialib.renderer.Pointer
-
Resets the state of this pointer, so that it is no longer marked as being pressed or released.
- color() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
colorrecord 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(Box) - Method in record class nl.colorize.multimedialib.math.Box
-
Returns a new box that encompasses both this box and the specified other box.
- combine(Rect) - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns a new rectangle that encompasses both this rectangle and the specified other rectangle.
- combine(Transform) - Method in class nl.colorize.multimedialib.stage.Transform
-
Returns a new
Transforminstance that is the result of combining this transform with the specified other transform. - combine(Transform3D) - Method in class nl.colorize.multimedialib.stage.Transform3D
-
Returns a new
Transform3Dinstance that is the result of combining this transform with the specified other transform. - COMMA - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- connect(String) - Method in interface nl.colorize.multimedialib.renderer.PeerConnection
-
Attempts to connect to the peer with the specified ID.
- Container - Class in nl.colorize.multimedialib.stage
-
Stage node that does not provide any graphics, but can instead be used to add additional graphics as children.
- 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
-
Returns true if the specified point is located within this rectangle.
- contains(String) - Method in class nl.colorize.multimedialib.stage.SpriteAtlas
- contains(Box) - Method in record class nl.colorize.multimedialib.math.Box
-
Returns true if the specified other box is entirely or partially located within this box.
- 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
-
Returns true if the specified point is located within this rectangle.
- 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(Point3D) - Method in record class nl.colorize.multimedialib.math.Box
-
Returns true if the specified point is located within this box.
- contains(Point3D) - Method in interface nl.colorize.multimedialib.math.Shape3D
- contains(Point3D) - Method in record class nl.colorize.multimedialib.math.Sphere
- contains(Rect) - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns true if the specified other rectangle is entirely or partially located within this rectangle.
- containsResourceFile(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Returns whether the specified resource file is available.
- 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
Coordinaterecord class. - copy() - Method in class nl.colorize.multimedialib.stage.Animation
- copy() - Method in interface nl.colorize.multimedialib.stage.Mesh
-
Creates a copy of this mesh, which will use the same geometry, materials, textures, and animations as this mesh.
- 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
- 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.
- createMesh(Shape3D) - Method in interface nl.colorize.multimedialib.scene.SceneContext
-
Programmatically creates a 3D polygon mesh that initially does not have any color or texture information attached to it.
- createMesh(Shape3D, ColorRGB) - Method in interface nl.colorize.multimedialib.scene.SceneContext
-
Programmatically creates a 3D polygon mesh with a solid color, based on the specified shape.
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_AMBIENT_LIGHT_COLOR - Static variable in class nl.colorize.multimedialib.stage.Stage
- DEFAULT_CANVAS_HEIGHT - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- DEFAULT_CANVAS_WIDTH - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- degrees() - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns the value of the
degreesrecord 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
- DemoIsometric - Class in nl.colorize.multimedialib.tool
-
Demo application that displays isometric "pseudo-3D" or "2.5D" graphics using the 2D renderer.
- DemoIsometric() - Constructor for class nl.colorize.multimedialib.tool.DemoIsometric
- 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
- depth() - Method in record class nl.colorize.multimedialib.math.Box
-
Returns the value of the
depthrecord component. - derive(int) - Method in record class nl.colorize.multimedialib.stage.FontFace
- derive(ColorRGB) - Method in record class nl.colorize.multimedialib.stage.FontFace
- detach(StageNode2D) - Method in class nl.colorize.multimedialib.stage.Stage
-
Detaches the specified node from the scene graph.
- detach(StageNode3D) - Method in class nl.colorize.multimedialib.stage.Stage
-
Detaches the specified node from the scene graph.
- DIAMOND - Static variable in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- direction() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns the value of the
directionrecord component. - distanceTo(Point2D) - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the distance between this point and the specified other point.
- distanceTo(Point3D) - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the distance between this point and the specified other point.
- DOWN - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- drawBackground(ColorRGB) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawCircle(Primitive, Circle, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawLight(Light, Transform3D) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawLine(Primitive, Line, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawMesh(Mesh, Transform3D) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawPolygon(Primitive, Polygon, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawRect(Primitive, Rect, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawSegmentedLine(Primitive, SegmentedLine, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawSprite(Sprite, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- drawText(Text, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
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.
- end() - Method in record class nl.colorize.multimedialib.math.Line
-
Returns the value of the
endrecord 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.
- 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 record class nl.colorize.multimedialib.math.Point3D
- EPSILON - Static variable in interface nl.colorize.multimedialib.math.Shape
- EPSILON - Static variable in interface nl.colorize.multimedialib.math.Shape3D
- 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.Box
-
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.Sphere
-
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.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 - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- 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
SegmentedLinethat 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 interface nl.colorize.multimedialib.stage.Image
-
Returns a new
Imageinstance 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
familyrecord component. - fillClipboard(String) - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Copies the specified text to the system clipboard.
- finalize2D(Stage) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
-
Called after all 2D nodes on the stage have been visited.
- finalize3D(Stage) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
-
Called after all 3D nodes on the stage have been visited, but before the 2D nodes are visited.
- 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.
- findCenter(Point3D) - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns a new point that is positioned in the center between this point and the specified other point.
- findNodePath(StageNode2D) - Method in class nl.colorize.multimedialib.stage.Stage
-
Returns the path towards the specified node.
- findNodePath(StageNode3D) - Method in class nl.colorize.multimedialib.stage.Stage
-
Returns the path towards the specified node.
- 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.
- flushReceivedMessages() - Method in interface nl.colorize.multimedialib.renderer.PeerConnection
-
Returns all received messages from all connected peers that were received since the last time this method was called.
- 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(ResourceFile, String, int, ColorRGB) - Constructor for record class nl.colorize.multimedialib.stage.FontFace
-
Creates an instance of a
FontFacerecord class. - forBrowser(String, GraphicsMode, Canvas) - Static method in class nl.colorize.multimedialib.renderer.RenderConfig
-
Starts configuring the browser-based renderer with the specified name and 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(StageNode2D, Runnable) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
- forDesktop(String, GraphicsMode, Canvas) - Static method in class nl.colorize.multimedialib.renderer.RenderConfig
-
Starts configuring the desktop platform renderer with the specified name and 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.
- forLines(BiConsumer<Integer, String>) - Method in class nl.colorize.multimedialib.stage.Text
- 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(StageNode2D, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
- forY(StageNode2D, Timeline) - Static method in class nl.colorize.multimedialib.scene.effect.Effect
- framerate - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- 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() - 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...) - Static method in record class nl.colorize.multimedialib.math.Polygon
-
Factory method that creates a polygon from an array of points, in the format
[x0, y0, x1, y1, ...]. - fromPoints(float, float, float, float) - Static method in record class nl.colorize.multimedialib.math.Rect
-
Factory method that creates a rectangle based on the points (x0, y0) and (x1, y1).
- fromPoints(float, float, float, float, float, float) - Static method in record class nl.colorize.multimedialib.math.Box
-
Factory method that creates a box based on the points (x0, y0, z0) and (x1, y1, z1).
- fromRadians(float) - Static method in record class nl.colorize.multimedialib.math.Angle
-
Factory method to create an
Angleinstance from an angle specified in radians, as opposed to the constructor which requires an angle specified in degrees. - 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
grecord component. - G - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- 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 interface nl.colorize.multimedialib.renderer.Network
-
Sends a HTTP GET request to the specified URL.
- 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
- 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 interface nl.colorize.multimedialib.stage.Image
-
Returns the alpha of a pixel within the image.
- getAmbientLightColor() - Method in class nl.colorize.multimedialib.stage.Stage
- getAnimationTimer() - Method in class nl.colorize.multimedialib.stage.Stage
- 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
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.Box
- 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.
- getBoundingBox() - Method in interface nl.colorize.multimedialib.math.Shape3D
-
Returns the smallest possible bounding box that can fit this shape.
- getBoundingBox() - Method in record class nl.colorize.multimedialib.math.Sphere
- getBounds() - Method in class nl.colorize.multimedialib.renderer.Canvas
- 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.
- getCameraFocus() - Method in class nl.colorize.multimedialib.stage.Stage
- getCameraPosition() - Method in class nl.colorize.multimedialib.stage.Stage
- getCanvas() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getCanvas() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- getCanvas() - Method in class nl.colorize.multimedialib.stage.Stage
- getCenter() - Method in record class nl.colorize.multimedialib.math.Box
- getCenter() - Method in record class nl.colorize.multimedialib.math.Circle
- getCenter() - Method in record class nl.colorize.multimedialib.math.Line
- getCenter() - Method in record class nl.colorize.multimedialib.math.Polygon
- getCenter() - Method in record class nl.colorize.multimedialib.math.Rect
- getCenter() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
- getCenter() - Method in interface nl.colorize.multimedialib.math.Shape
- getCenter() - Method in interface nl.colorize.multimedialib.math.Shape3D
- getCenter() - Method in record class nl.colorize.multimedialib.math.Sphere
- 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 class nl.colorize.multimedialib.stage.Container
- getChildren() - Method in class nl.colorize.multimedialib.stage.Group
- getColor() - Method in class nl.colorize.multimedialib.stage.Light
- getColor() - Method in class nl.colorize.multimedialib.stage.Primitive
- getColor(int, int) - Method in interface nl.colorize.multimedialib.stage.Image
-
Returns the RGB color value of a pixel within the image.
- getConfig() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- getContainer() - Method in class nl.colorize.multimedialib.scene.effect.ParticleWipe
- 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 interface 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
- getDuration() - Method in class nl.colorize.multimedialib.scene.Timer
- getDuration() - Method in class nl.colorize.multimedialib.stage.Animation
- getDynamicTexture() - Method in interface nl.colorize.multimedialib.stage.Mesh
-
If this mesh is currently using a dynamic texture, returns the sprite that is used as its source.
- getEndX() - Method in record class nl.colorize.multimedialib.math.Box
- getEndX() - Method in record class nl.colorize.multimedialib.math.Rect
- getEndY() - Method in record class nl.colorize.multimedialib.math.Box
- getEndY() - Method in record class nl.colorize.multimedialib.math.Rect
- getEndZ() - Method in record class nl.colorize.multimedialib.math.Box
- getErrorHandler() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getFile() - Method in class nl.colorize.multimedialib.stage.LoadStatus
- 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
- 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
- getFramerate() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getFrameRenderTime() - Method in class nl.colorize.multimedialib.renderer.FrameStats
- getFrameStats() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- getFrameStats() - Method in class nl.colorize.multimedialib.scene.SceneManager
- getFrameTime(int) - Method in class nl.colorize.multimedialib.stage.Animation
- 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
- getGlobalHandlers() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getGlobalTransform() - Method in class nl.colorize.multimedialib.stage.Container
- getGlobalTransform() - Method in class nl.colorize.multimedialib.stage.Group
- getGlobalTransform() - Method in class nl.colorize.multimedialib.stage.Light
- getGlobalTransform() - Method in class nl.colorize.multimedialib.stage.Primitive
- getGlobalTransform() - Method in class nl.colorize.multimedialib.stage.Sprite
- getGlobalTransform() - Method in interface nl.colorize.multimedialib.stage.StageNode2D
-
Returns this node's global transform, which is interpreted relative to the stage.
- getGlobalTransform() - Method in interface nl.colorize.multimedialib.stage.StageNode3D
-
Returns this node's global transform, which is interpreted relative to the stage.
- getGlobalTransform() - Method in class nl.colorize.multimedialib.stage.Text
- getGraphics(String) - Method in class nl.colorize.multimedialib.stage.Sprite
- getGraphicsMode() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getGraphicsMode() - Method in class nl.colorize.multimedialib.stage.Stage
- 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.stage.Image
- getIconFile() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- getId() - Method in class nl.colorize.multimedialib.renderer.Pointer
- getInput() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- 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).
- getIntensity() - Method in class nl.colorize.multimedialib.stage.Light
- getLauncher() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- 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 interface nl.colorize.multimedialib.renderer.MediaLoader
-
Returns a buffer containing the load status of all media files that have been loaded by this
MediaLoader. - getMaskColor() - Method in class nl.colorize.multimedialib.stage.Transform
- getMediaAssets() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getMediaLoader() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- getName() - Method in class nl.colorize.multimedialib.stage.Container
- getName() - Method in class nl.colorize.multimedialib.stage.Group
- getNetwork() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- getNextScene() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getNumPoints() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Deprecated.
- getParentMap2D() - Method in class nl.colorize.multimedialib.stage.Stage
- getParentMap3D() - Method in class nl.colorize.multimedialib.stage.Stage
- getPoint(int) - Method in record class nl.colorize.multimedialib.math.Polygon
-
Deprecated.
- getPointers() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
-
Returns all currently active pointers.
- getPointX(int) - Method in record class nl.colorize.multimedialib.math.Polygon
-
Deprecated.
- getPointY(int) - Method in record class nl.colorize.multimedialib.math.Polygon
-
Deprecated.
- 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
- getRadians() - Method in record class nl.colorize.multimedialib.math.Angle
- getRatio() - Method in class nl.colorize.multimedialib.scene.Timer
- getRegion() - Method in interface nl.colorize.multimedialib.stage.Image
- getRendererName() - Method in interface 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
- getRoot3D() - Method in class nl.colorize.multimedialib.stage.Stage
- 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
- 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
- getSceneManager() - Method in interface nl.colorize.multimedialib.scene.SceneContext
- getScreenBackgroundColor() - Method in class nl.colorize.multimedialib.scene.SplashScreen
- getScreenOffset() - Method in class nl.colorize.multimedialib.renderer.Canvas
- 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
- getSimulationMode() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getSize() - Method in class nl.colorize.multimedialib.renderer.Canvas
- getStage() - Method in interface 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 class nl.colorize.multimedialib.stage.Primitive
- getStageBounds() - Method in class nl.colorize.multimedialib.stage.Sprite
- getStageBounds() - Method in interface nl.colorize.multimedialib.stage.StageNode2D
-
Returns the bounding box currently occopied by this node, relative to the stage.
- 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
- 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.stage.Container
- getTransform() - Method in class nl.colorize.multimedialib.stage.Group
- getTransform() - Method in class nl.colorize.multimedialib.stage.Light
- getTransform() - Method in class nl.colorize.multimedialib.stage.Primitive
- getTransform() - Method in class nl.colorize.multimedialib.stage.Sprite
- getTransform() - Method in interface nl.colorize.multimedialib.stage.StageNode2D
-
Returns this node's local transform, which is interpreted relative to its parent node.
- getTransform() - Method in interface nl.colorize.multimedialib.stage.StageNode3D
-
Returns this node's local transform, which is interpreted relative to its parent node.
- 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.stage.Image
- getWindowOptions() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- getWindowSize() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
-
Returns the requested window size.
- getX() - Method in record class nl.colorize.multimedialib.math.Vector
- getX() - Method in class nl.colorize.multimedialib.stage.Transform
- getY() - Method in record class nl.colorize.multimedialib.math.Vector
- 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
- graphics - Variable in class nl.colorize.multimedialib.tool.DemoLauncher
- GraphicsMode - Enum Class in nl.colorize.multimedialib.renderer
-
Describes the graphics mode that is currently being used 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
- GREEN_BUTTON - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- 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
- Group - Class in nl.colorize.multimedialib.stage
-
Stage node that does not provide any graphics, but can instead be used to add additional graphics as children.
- Group() - Constructor for class nl.colorize.multimedialib.stage.Group
- Group(String) - Constructor for class nl.colorize.multimedialib.stage.Group
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.Box
-
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.Sphere
-
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.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.
- headless(GraphicsMode, Canvas) - Static method in class nl.colorize.multimedialib.renderer.RenderConfig
-
Starts configuring a headless renderer that will simulate the requested graphics mode.
- HEADLESS - Enum constant in enum class nl.colorize.multimedialib.renderer.GraphicsMode
- height() - Method in record class nl.colorize.multimedialib.math.Box
-
Returns the value of the
heightrecord component. - height() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
heightrecord component. - height() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
heightrecord component. - height() - Method in record class nl.colorize.multimedialib.math.Size
-
Returns the value of the
heightrecord component. - horizontalOffset - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
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.
- 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(Point3D, float) - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns a new point with a position that uses linear interpolation between this point and the specified other point.
- interpolate(Point3D, float, Interpolation) - Method in record class nl.colorize.multimedialib.math.Point3D
-
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(Box) - Method in record class nl.colorize.multimedialib.math.Box
-
Returns true if the specified other box intersects with this box.
- 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
-
Returns true if the specified other retangle intersects with this rectangle.
- isActive() - Method in class nl.colorize.multimedialib.scene.effect.PerformanceMonitor
- isActiveScene(Scene) - Method in class nl.colorize.multimedialib.scene.SceneManager
-
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
- isFlipHorizontal() - Method in class nl.colorize.multimedialib.stage.Transform
- isFlipVertical() - Method in class nl.colorize.multimedialib.stage.Transform
- isFullscreen() - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- isKeyboardAvailable() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
- 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.
- 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.
- isLandscape() - Method in class nl.colorize.multimedialib.renderer.Canvas
- 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
- isOrigin() - Method in record class nl.colorize.multimedialib.math.Point2D
- isOrigin() - Method in record class nl.colorize.multimedialib.math.Point3D
- isPeerToPeerSupported() - Method in interface nl.colorize.multimedialib.renderer.Network
-
Returns true if this renderer supports peer-to-peer connections on the current platform.
- 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(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.
- isSimulationMode() - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- isSupported(GraphicsMode) - Method in interface nl.colorize.multimedialib.renderer.Renderer
- isTouchAvailable() - Method in interface nl.colorize.multimedialib.renderer.InputDevice
- isVisible() - Method in class nl.colorize.multimedialib.stage.Transform
- isVisible() - Method in class nl.colorize.multimedialib.stage.Transform3D
- iterator() - Method in class nl.colorize.multimedialib.stage.Container
- iterator() - Method in class nl.colorize.multimedialib.stage.Group
J
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.
L
- L - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- LEFT - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- LEFT - Enum constant in enum class nl.colorize.multimedialib.stage.Align
- Light - Class in nl.colorize.multimedialib.stage
-
Light source that influences 3D graphics on the stage.
- Light(ColorRGB, float) - Constructor for class nl.colorize.multimedialib.stage.Light
- 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
Linerecord class. - linkGraphics(StageNode2D...) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Links existing graphics to this effect.
- load(ResourceFile) - Method in class nl.colorize.multimedialib.renderer.SpriteAtlasLoader
- loadApplicationData(String) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads the application data for the application with the specified name.
- loadAtlas(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a sprite atlas based on the libGDX
.atlasfile format. - loadAudio(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads an audio clip from a file.
- loadDefaultFont(int, ColorRGB) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads the default font, the open source font Open Sans.
- loadFont(ResourceFile, 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.
- loadImage(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads an image from a file.
- loadMedia(MediaLoader, Network) - Method in interface nl.colorize.multimedialib.scene.MediaAssetStore
-
Loads all media assets managed by this
MediaAssetStore. - loadModel(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a polygon model from the specified file.
- loadProperties(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Convenience method that loads and then parses the contents of a
.propertiesfile. - LoadStatus - Class in nl.colorize.multimedialib.stage
-
Tracks progress for media files that are loaded by the renderer.
- loadText(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Loads a text-based resource file using UTF-8 encoding.
- loadTextLines(ResourceFile) - 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.
- loadTranslationBundle(ResourceFile) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Convenience method that loads and then parses the contents of a
.propertiesfile and returns aTranslationBundle.
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
magnituderecord 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
- MARIO_SPRITES_FILE - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- 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(List<SpriteAtlas>) - Static method in class nl.colorize.multimedialib.stage.SpriteAtlas
-
Static factory method that returns a sprite atlas containing all sub-images from all atlases.
- 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.
- Mesh - Interface in nl.colorize.multimedialib.stage
-
Polygon mesh that can be used to render 3D graphics.
- 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
- 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(float, float, float) - Method in record class nl.colorize.multimedialib.math.Point3D
-
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.
- move(Point3D) - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns a new point that starts from this point and then adds the specified offset.
- 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
- negate() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns a new point that has X and Y values that are the inverse of this point's X and Y values.
- negate() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns a new point that has X/Y/Z values that are the inverse of this point's X/Y/Z values.
- 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.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.
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.
- 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
- onNodeAdded(Container, StageNode2D) - Method in class nl.colorize.multimedialib.stage.Stage
- onNodeAdded(Container, StageNode2D) - Method in interface nl.colorize.multimedialib.stage.StageSubscriber
- onNodeAdded(Group, StageNode3D) - Method in class nl.colorize.multimedialib.stage.Stage
- onNodeAdded(Group, StageNode3D) - Method in interface nl.colorize.multimedialib.stage.StageSubscriber
- onNodeRemoved(Container, StageNode2D) - Method in class nl.colorize.multimedialib.stage.Stage
- onNodeRemoved(Container, StageNode2D) - Method in interface nl.colorize.multimedialib.stage.StageSubscriber
- onNodeRemoved(Group, StageNode3D) - Method in class nl.colorize.multimedialib.stage.Stage
- onNodeRemoved(Group, StageNode3D) - Method in interface nl.colorize.multimedialib.stage.StageSubscriber
- openPeerConnection() - Method in interface nl.colorize.multimedialib.renderer.Network
-
Opens a peer-to-peer connection.
- opposite() - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns an
Anglethat is the exact opposite of this angle. - ORANGE - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- ORANGE_BUTTON - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- OrientationLockScreen - Class in nl.colorize.multimedialib.scene.effect
-
Displays an image and/or message to inform the user to change their device orientation.
- OrientationLockScreen(StageNode2D) - Constructor for class nl.colorize.multimedialib.scene.effect.OrientationLockScreen
- origin() - Method in record class nl.colorize.multimedialib.math.Vector
-
Returns the value of the
originrecord component. - origin() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
originrecord 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
- parseHex(String) - Static method in record class nl.colorize.multimedialib.stage.ColorRGB
-
Parses a color from a hexadecimal color string, for example "#FF0000" for red.
- 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.
- PeerConnection - Interface in nl.colorize.multimedialib.renderer
-
Access to a currently active peer-to-peer connection, which can be obtained from
Network. - 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
- performFrameUpdate(SceneContext, float) - Method in class nl.colorize.multimedialib.scene.SceneManager
-
Performs an application frame update.
- 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
- PINK_BUTTON - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- play() - Method in interface nl.colorize.multimedialib.stage.Audio
-
Plays this audio clip once, at its normal volume.
- play(int, boolean) - Method in interface nl.colorize.multimedialib.stage.Audio
-
Starts playing this audio clip.
- 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
Point2Drecord 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
Point3Drecord 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
pointsrecord component. - points() - Method in record class nl.colorize.multimedialib.math.SegmentedLine
-
Returns the value of the
pointsrecord component. - Polygon - Record Class in nl.colorize.multimedialib.math
-
A two-dimensional convex polygon with float precision coordinates.
- Polygon(List<Point2D>) - Constructor for record class nl.colorize.multimedialib.math.Polygon
-
Creates an instance of a
Polygonrecord class. - post(String, Headers, PostData) - Method in interface nl.colorize.multimedialib.renderer.Network
-
Sends a HTTP POST request to the specified URL.
- 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
- project(Point3D) - Method in interface nl.colorize.multimedialib.scene.SceneContext
-
Returns the 3D world coordinates that correspond to the specified 2D canvas coordinates, based on the current camera position.
- 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
rrecord 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
radiusrecord component. - radius() - Method in record class nl.colorize.multimedialib.math.Sphere
-
Returns the value of the
radiusrecord 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.
- recalculateGlobalTransform(StageNode2D) - Method in class nl.colorize.multimedialib.stage.Stage
-
Recalculates the global transform for the specified node.
- recalculateGlobalTransform(StageNode3D) - Method in class nl.colorize.multimedialib.stage.Stage
-
Recalculates the global transform for the specified node.
- 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
Rectrecord class. - RED - Static variable in record class nl.colorize.multimedialib.stage.ColorRGB
- RED_BUTTON - Static variable in class nl.colorize.multimedialib.tool.Demo2D
- 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
Regionrecord class. - relativeDifference(Angle) - Method in record class nl.colorize.multimedialib.math.Angle
-
Returns the difference between this angle and the specified other angle, in the range between -180 and 180 degrees.
- removeAfterwards(StageNode2D...) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Deprecated.Use
Effect.linkGraphics(StageNode2D...)instead. - removeChild(StageNode2D) - Method in class nl.colorize.multimedialib.stage.Container
- removeChild(StageNode3D) - Method in class nl.colorize.multimedialib.stage.Group
- RenderConfig - Class in nl.colorize.multimedialib.renderer
-
Used to configure and launch the renderer, and can also be used to obtain this configuration at runtime.
- 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
- 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.
- reposition(float, float) - Method in interface nl.colorize.multimedialib.math.Shape
-
Returns a new
Shapeinstance 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
Shapeinstance that is repositioned by the specified offset. - reposition(Point3D) - Method in record class nl.colorize.multimedialib.math.Box
- reposition(Point3D) - Method in interface nl.colorize.multimedialib.math.Shape3D
-
Returns a new
Shape3Dinstance that is repositioned by the specified offset. - reposition(Point3D) - Method in record class nl.colorize.multimedialib.math.Sphere
- requestFrameUpdate(SceneContext) - Method in class nl.colorize.multimedialib.scene.SceneManager
-
Synchronizes between "native" frames and application frame updates.
- 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 interface nl.colorize.multimedialib.renderer.InputDevice
-
Shows a dialog window with a text input field.
- 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.
- 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
- 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, Properties) - Method in interface nl.colorize.multimedialib.renderer.MediaLoader
-
Saves the application data for the application with the specified name.
- 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
Canvasshould 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
-
Applications are split into *scenes*.
- SceneContext - Interface in nl.colorize.multimedialib.scene
-
The currently active scene (and its sub-scenes) receive access to the scene context, which is provided by the renderer via callback methods.
- SceneManager - Class in nl.colorize.multimedialib.scene
-
Controls the scene life cycle, including the life cycle of its attached sub-scenes.
- SceneManager() - Constructor for class nl.colorize.multimedialib.scene.SceneManager
- SceneManager(Stopwatch) - Constructor for class nl.colorize.multimedialib.scene.SceneManager
- 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
SegmentedLinerecord class. - sendMessage(String) - Method in interface nl.colorize.multimedialib.renderer.PeerConnection
-
Sends the specified data message to all connected peers.
- 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
- set(Transform3D) - Method in class nl.colorize.multimedialib.stage.Transform3D
- 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 class nl.colorize.multimedialib.stage.Transform
- setAmbientLightColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.Stage
- 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
- setCameraFocus(Point3D) - Method in class nl.colorize.multimedialib.stage.Stage
- setCameraPosition(Point3D) - Method in class nl.colorize.multimedialib.stage.Stage
- setColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.Light
- setColor(ColorRGB) - Method in class nl.colorize.multimedialib.stage.Primitive
- setDelay(Timer) - Method in class nl.colorize.multimedialib.scene.SplashScreen
- setErrorHandler(ErrorHandler) - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- 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
- setFramerate(int) - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- 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
- setGlobalTransform(Transform) - Method in class nl.colorize.multimedialib.stage.Primitive
- setGlobalTransform(Transform) - Method in class nl.colorize.multimedialib.stage.Text
- setIconFile(ResourceFile) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setIntensity(float) - Method in class nl.colorize.multimedialib.stage.Light
- 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
- setParentMap2D(Map<StageNode2D, Container>) - Method in class nl.colorize.multimedialib.stage.Stage
- setParentMap3D(Map<StageNode3D, Group>) - Method in class nl.colorize.multimedialib.stage.Stage
- setPosition(float, float) - Method in interface nl.colorize.multimedialib.stage.StageNode2D
-
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(Angle) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setRotationY(Angle) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setRotationZ(Angle) - 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
- setSimulationMode(String) - Method in class nl.colorize.multimedialib.renderer.RenderConfig
- setState(int) - Method in class nl.colorize.multimedialib.renderer.Pointer
- setStroke(float) - Method in class nl.colorize.multimedialib.stage.Primitive
- setText(String) - Method in class nl.colorize.multimedialib.stage.Text
- setText(List<String>) - Method in class nl.colorize.multimedialib.stage.Text
- setTime(float) - Method in class nl.colorize.multimedialib.scene.Timer
- setTime(float) - Method in class nl.colorize.multimedialib.stage.LoadStatus
- setTitle(String) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setTransform(Transform) - Method in class nl.colorize.multimedialib.stage.Primitive
- setTransform(Transform) - Method in class nl.colorize.multimedialib.stage.Text
- setVisible(boolean) - Method in class nl.colorize.multimedialib.stage.Transform
- setVisible(boolean) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setWindowSize(Size) - Method in class nl.colorize.multimedialib.renderer.WindowOptions
- setX(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setX(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setY(float) - Method in class nl.colorize.multimedialib.stage.Transform
- setY(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- setZ(float) - Method in class nl.colorize.multimedialib.stage.Transform3D
- Shape - Interface in nl.colorize.multimedialib.math
-
Shared interface for all two-dimensional shapes.
- Shape3D - Interface in nl.colorize.multimedialib.math
-
Shared interface for all three-dimensional shapes.
- SHIFT - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- shouldVisitAllNodes() - 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.
- size() - Method in record class nl.colorize.multimedialib.stage.FontFace
-
Returns the value of the
sizerecord 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
Sizerecord class. - SPACEBAR - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- Sphere - Record Class in nl.colorize.multimedialib.math
-
Immutable three-dimensional sphere with float precision.
- Sphere(float) - Constructor for record class nl.colorize.multimedialib.math.Sphere
-
Creates a sphere with its center point located at the origin (0, 0, 0).
- Sphere(Point3D, float) - Constructor for record class nl.colorize.multimedialib.math.Sphere
-
Creates an instance of a
Sphererecord class. - 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
.atlasfile 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 the graphics and audio for the currently active scene.
- Stage(GraphicsMode, Canvas) - Constructor for class nl.colorize.multimedialib.stage.Stage
-
Creates a new stage that will be drawn to the specified canvas, using the specified graphics mode.
- StageNode2D - Interface in nl.colorize.multimedialib.stage
-
Shared interface for all 3D graphics that can be added to the stage's scene graph.
- StageNode3D - Interface in nl.colorize.multimedialib.stage
-
Shared interface for all 3D graphics that can be added to the stage's scene graph.
- StageSubscriber - Interface in nl.colorize.multimedialib.stage
-
Interface that is notified whenever the stage is modified.
- StageVisitor - Interface in nl.colorize.multimedialib.stage
-
Visitor interface that can be used to traverse all nodes currently on the stage.
- start() - Method in record class nl.colorize.multimedialib.math.Line
-
Returns the value of the
startrecord component. - start(RenderConfig, Scene) - Method in interface nl.colorize.multimedialib.renderer.Renderer
-
Starts this renderer based on the specified configuration.
- start(Scene) - Method in class nl.colorize.multimedialib.renderer.RenderConfig
-
Uses this configuration to start the renderer, initially displaying the provided scene.
- 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(SceneContext) - Method in class nl.colorize.multimedialib.tool.DemoIsometric
- 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 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
- subscribe(StageSubscriber) - Method in class nl.colorize.multimedialib.stage.Stage
-
Subscribes to this stage, receiving events every time nodes are added or removed.
- 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
T
- T - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- TAB - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- takeScreenshot(File) - Method in interface nl.colorize.multimedialib.scene.SceneContext
-
Captures a screenshot of the renderer's current graphics and then exports the screenshot to a PNG file.
- 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
- 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 interface nl.colorize.multimedialib.scene.SceneContext
-
Terminates the renderer, which will end the animation loop and quit 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
- 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
- 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 the hexadecimal color string for this color, for example "#FF0000" for red.
- toPoint() - Method in record class nl.colorize.multimedialib.math.Vector
- toPoints() - Method in record class nl.colorize.multimedialib.math.Polygon
-
Returns an array that contains the X and Y coordinates for all points within this polygon, in the format
[x0, y0, x1, y1, ...]. - 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(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.Box
-
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.Sphere
-
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 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.Group
- toString() - Method in class nl.colorize.multimedialib.stage.Light
- toString() - Method in class nl.colorize.multimedialib.stage.LoadStatus
- 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
- track(ResourceFile, Subject<?>) - Static method in class nl.colorize.multimedialib.stage.LoadStatus
-
Creates a
LoadStatusthat tracks the status of the asynchronous operation represented by theSubject. - 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 polygonal 3D graphics are displayed.
- Transform3D() - Constructor for class nl.colorize.multimedialib.stage.Transform3D
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(float) - Method in class nl.colorize.multimedialib.renderer.Pointer
- update(float) - Method in class nl.colorize.multimedialib.scene.StateMachine
-
Updates this state machine based on the elapsed relative time, as specified by the
Updatableinterface. - 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(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
- update(SceneContext, float) - Method in class nl.colorize.multimedialib.tool.DemoIsometric
V
- V - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
- 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
Vectorrecord class. - verticalOffset - Variable in class nl.colorize.multimedialib.tool.ImageManipulationTool
- visit(StageVisitor) - Method in class nl.colorize.multimedialib.stage.Stage
-
Visits all nodes that are currently part of the stage.
- visitContainer(Container, Transform) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
- visitGroup(Group, Transform3D) - Method in interface nl.colorize.multimedialib.stage.StageVisitor
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.Box
-
Returns the value of the
widthrecord component. - width() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
widthrecord component. - width() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
widthrecord component. - width() - Method in record class nl.colorize.multimedialib.math.Size
-
Returns the value of the
widthrecord component. - WindowOptions - Class in nl.colorize.multimedialib.renderer
-
Defines how the application window should be displayed on desktop platforms.
- WindowOptions() - Constructor for class nl.colorize.multimedialib.renderer.WindowOptions
- 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<StageNode2D>) - Method in class nl.colorize.multimedialib.scene.effect.Effect
-
Deprecated.
- withMagnitude(float) - Method in record class nl.colorize.multimedialib.math.Vector
X
- x() - Method in record class nl.colorize.multimedialib.math.Box
-
Returns the value of the
xrecord component. - x() - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Returns the value of the
xrecord component. - x() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the value of the
xrecord component. - x() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the value of the
xrecord component. - x() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
xrecord component. - x() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
xrecord 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.Box
-
Returns the value of the
yrecord component. - y() - Method in record class nl.colorize.multimedialib.math.Coordinate
-
Returns the value of the
yrecord component. - y() - Method in record class nl.colorize.multimedialib.math.Point2D
-
Returns the value of the
yrecord component. - y() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the value of the
yrecord component. - y() - Method in record class nl.colorize.multimedialib.math.Rect
-
Returns the value of the
yrecord component. - y() - Method in record class nl.colorize.multimedialib.math.Region
-
Returns the value of the
yrecord 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.Box
-
Returns the value of the
zrecord component. - z() - Method in record class nl.colorize.multimedialib.math.Point3D
-
Returns the value of the
zrecord component. - Z - Enum constant in enum class nl.colorize.multimedialib.renderer.KeyCode
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Pointer.clearState()on individual pointers over trying to globally manage all pointers using this method.