eu.joaocosta.minart.graphics
Members list
Type members
Classlikes
Window with a canvas that can be painted.
Window with a canvas that can be painted.
The Canvas provides access to both rendering and input functionallity, as the input must be tied to a window
A canvas represents a window with a width * height
pixels.
There's also a scale
variable that controls the integer scaling
and a clearColor
that is applied to the whole canvas when it's cleared.
Attributes
- Companion:
- object
- Graph
- Supertypes
- Known subtypes
- trait LowLevelCanvastrait SurfaceBackedCanvas
Representation of a RGB Color.
Representation of a RGB Color.
Attributes
- argb
this color packed as a 32 bit integer in ARGB.
- Companion:
- object
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
A low-level version of a canvas with init and close methods.
A low-level version of a canvas with init and close methods.
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait LowLevelSubsystem[Settings]trait AutoCloseabletrait Canvastrait MutableSurfacetrait Surfaceclass Objecttrait Matchableclass Any
- Known subtypes
- trait SurfaceBackedCanvas
Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- LowLevelCanvas.type
A surface that can be drawn on using mutable operations.
A surface that can be drawn on using mutable operations.
Attributes
- Graph
- Supertypes
- Known subtypes
A mutable surface stored in RAM.
A mutable surface stored in RAM.
Attributes
- data
the raw data that backs this surface
- Graph
- Supertypes
A Surface is an object that contains a set of pixels.
A Surface is an object that contains a set of pixels.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait MutableSurfacetrait Canvastrait LowLevelCanvastrait SurfaceBackedCanvasclass RamSurfaceclass SurfaceView
Canvas backed by a mutable surface.
Canvas backed by a mutable surface.
Attributes
- Graph
- Supertypes
- trait LowLevelCanvastrait LowLevelSubsystem[Settings]trait AutoCloseabletrait Canvastrait MutableSurfacetrait Surfaceclass Objecttrait Matchableclass Any
A view over a surface, stored as a plane limited by a width and height. Allows lazy operations to be applied over a surface.
A view over a surface, stored as a plane limited by a width and height. Allows lazy operations to be applied over a surface.
This can have a performance impact. However, a new RAM surface with the operations already applied can be constructed using toRamSurface
Attributes
- Companion:
- object
- Graph
- Supertypes
- Self type
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- SurfaceView.type