case class MultiColour(bitmap: Bitmap, screen: Screen, colors: Screen, border: Option[Byte], bckgrd: Byte) extends CBM with Product with Serializable
MultiColour image data abstraction providing convenient access to the bitmap and screen colours.
- bitmap
plain hi-resolution bitmap data of an image
- screen
screen portion of colours data of an image
- colors
colors portion of colours data of an image
- border
optional single byte of image border colour
- bckgrd
single byte of image background colour
- Alphabetic
- By Inheritance
- MultiColour
- Serializable
- Product
- Equals
- CBM
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new MultiColour(bitmap: Bitmap, screen: Screen, colors: Screen, border: Option[Byte], bckgrd: Byte)
create a new
MultiColourimage datacreate a new
MultiColourimage data- bitmap
plain hi-resolution bitmap data of an image
- screen
screen portion of colours data of an image
- colors
colors portion of colours data of an image
- border
optional single byte of image border colour
- bckgrd
single byte of image background colour
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bckgrd: Byte
- val bitmap: Bitmap
Plain hi-resolution bitmap data of the image.
Plain hi-resolution bitmap data of the image.
- Definition Classes
- MultiColour → CBM
- val border: Option[Byte]
Optional single byte of image border colour.
Optional single byte of image border colour.
- Definition Classes
- MultiColour → CBM
- def canEqual(that: Any): Boolean
- Definition Classes
- MultiColour → Equals
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val colors: Screen
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- MultiColour → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val height: Int
An actual pixel height of this MultiColour image.
An actual pixel height of this MultiColour image.
- Definition Classes
- MultiColour → CBM
- val heightRounded: Int
Image pixel height rounded up to the bottom margin of an 8x8 character.
Image pixel height rounded up to the bottom margin of an 8x8 character.
- Definition Classes
- MultiColour → CBM
- val imageMode: String
An actual image mode.
An actual image mode.
- Definition Classes
- CBM
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val numCharCols: Int
An actual char width of this MultiColour image.
An actual char width of this MultiColour image.
- Definition Classes
- MultiColour → CBM
- val numCharRows: Int
An actual char height of this MultiColour image.
An actual char height of this MultiColour image.
- Definition Classes
- MultiColour → CBM
- def pixel(x: Int, y: Int): Byte
Returns the C64 colour of the pixel at [x,y].
Returns the C64 colour of the pixel at [x,y].
- x
X coordinate of a requested pixel
- y
Y coordinate of a requested pixel
- Definition Classes
- MultiColour → CBM
- def pixelCoordinatesToScreen(x: Int, y: Int): (Int, Int)
Converts given pixel coordinates into screen coordinates.
Converts given pixel coordinates into screen coordinates.
- x
X coordinate of a requested pixel
- y
Y coordinate of a requested pixel
- returns
tuple with a pair of calculated screen coordinates
- Definition Classes
- CBM
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def rows: Array[MultiColourRow]
Returns image data as an array of multicolour rows (org.c64.attitude.Afterimage.Mode.Data.Row.MultiColourRow objects).
Returns image data as an array of multicolour rows (org.c64.attitude.Afterimage.Mode.Data.Row.MultiColourRow objects).
Note that fetching rows data from an image slice will also always return an array of full rows with 40 columns length each!
- val screen: Screen
- def slice(fromY: Int, toY: Int): MultiColourSlice
Returns a new MultiColourSlice instance with truncated contents of the image.
Returns a new MultiColourSlice instance with truncated contents of the image.
- fromY
first screen row of a rectangular selection area considered as a number of 8x8 character blocks
- toY
last screen row a rectangular selection area (inclusive) considered as a number of 8x8 character blocks
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def validate(): Unit
Validates consistency of an object instance data.
Validates consistency of an object instance data.
- Definition Classes
- MultiColour → CBM
- def validatePixelCoordinates(x: Int, y: Int): Unit
Validates whether given pixel coordinates are located within the image.
Validates whether given pixel coordinates are located within the image.
- x
X coordinate of the pixel
- y
Y coordinate of the pixel
- Definition Classes
- CBM
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val width: Int
An actual pixel width of this MultiColour image.
An actual pixel width of this MultiColour image.
- Definition Classes
- MultiColour → CBM
- val widthRounded: Int
Image pixel width rounded up to the right margin of an 8x8 character.
Image pixel width rounded up to the right margin of an 8x8 character.
- Definition Classes
- MultiColour → CBM