org.c64.attitude.Afterimage.Mode

MultiColour

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

Linear Supertypes
Serializable, Serializable, Product, Equals, CBM, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MultiColour
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CBM
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiColour(bitmap: Bitmap, screen: Screen, colors: Screen, border: Option[Byte], bckgrd: Byte)

    create a new MultiColour image data

    create a new MultiColour image 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

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val bckgrd: Byte

    single byte of image background colour

  8. val bitmap: Bitmap

    plain hi-resolution bitmap data of an image

    plain hi-resolution bitmap data of an image

    Definition Classes
    MultiColourCBM
  9. val border: Option[Byte]

    optional single byte of image border colour

    optional single byte of image border colour

    Definition Classes
    MultiColourCBM
  10. def canEqual(that: Any): Boolean

    Definition Classes
    MultiColour → Equals
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. val colors: Screen

    colors portion of colours data of an image

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean

    Definition Classes
    MultiColour → Equals → AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    MultiColour → AnyRef → Any
  18. val height: Int

    An actual pixel height of this MultiColour image.

    An actual pixel height of this MultiColour image.

    Definition Classes
    MultiColourCBM
  19. 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
    MultiColourCBM
  20. val imageMode: String

    An actual image mode.

    An actual image mode.

    Definition Classes
    CBM
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val numCharCols: Int

    An actual char width of this MultiColour image.

    An actual char width of this MultiColour image.

    Definition Classes
    MultiColourCBM
  26. val numCharRows: Int

    An actual char height of this MultiColour image.

    An actual char height of this MultiColour image.

    Definition Classes
    MultiColourCBM
  27. 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
    MultiColourCBM
  28. 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
  29. def productArity: Int

    Definition Classes
    MultiColour → Product
  30. def productElement(arg0: Int): Any

    Definition Classes
    MultiColour → Product
  31. def productIterator: Iterator[Any]

    Definition Classes
    Product
  32. def productPrefix: String

    Definition Classes
    MultiColour → Product
  33. def rows: Array[MultiColourRow]

    Returns image data as an array of multicolour rows (org.c64.attitude.Afterimage.Mode.Data.MultiColourRow objects).

    Returns image data as an array of multicolour rows (org.c64.attitude.Afterimage.Mode.Data.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!

  34. val screen: Screen

    screen portion of colours data of an image

  35. 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

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    MultiColour → AnyRef → Any
  38. def validate(): Unit

    Validates consistency of an object instance data.

    Validates consistency of an object instance data.

    Definition Classes
    MultiColourCBM
  39. 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
  40. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  41. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  42. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  43. val width: Int

    An actual pixel width of this MultiColour image.

    An actual pixel width of this MultiColour image.

    Definition Classes
    MultiColourCBM
  44. 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
    MultiColourCBM

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CBM

Inherited from AnyRef

Inherited from Any