eu.joaocosta.minart.graphics.Plane
See thePlane companion trait
object Plane
Attributes
Members list
Value members
Concrete methods
Creates a plane from a constant color.
Creates a plane from a constant color.
Value parameters
- constant
-
constant color
Attributes
Creates a plane from a generator function.
Creates a plane from a generator function.
Value parameters
- generator
-
generator function from (x, y) to a color
Attributes
Creates a plane from a surface, filling the remaining pixels with a fallback color.
Creates a plane from a surface, filling the remaining pixels with a fallback color.
Value parameters
- fallback
-
fallback color
- surface
-
reference surface
Attributes
Deprecated methods
Creates a plane from a surface, by repeating that surface accross both axis.
Creates a plane from a surface, by repeating that surface accross both axis.
Value parameters
- surface
-
reference surface
Attributes
- Deprecated
- true
In this article