org.cosplay.CPCanvas$
See theCPCanvas companion class
object CPCanvas
Companion object with utility functions.
Attributes
- Companion
- class
- Source
- CPCanvas.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CPCanvas.type
Members list
Type members
Classlikes
enum ArtLineStyle
Supported styles for the following methods:
Supported styles for the following methods:
Attributes
- Source
- CPCanvas.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Creates new canvas with given dimensions and background pixel.
Creates new canvas with given dimensions and background pixel.
Value parameters
- bgPx
-
Background pixel.
- h
-
Height of the canvas.
- w
-
Width of the canvas.
Attributes
- Source
- CPCanvas.scala
Creates new canvas with given dimension and background pixel.
Creates new canvas with given dimension and background pixel.
Value parameters
- bgPx
-
Background pixel.
- dim
-
Dimension of the canvas.
Attributes
- Source
- CPCanvas.scala
In this article