org.c64.attitude.Afterimage.Mode.Data.Row

MultiColourRow

class MultiColourRow extends Row

Single multicolour row (counted as a number of 8x8 character columns) data abstraction providing direct access to the raw multicolour image bytes.

Linear Supertypes
Row, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MultiColourRow
  2. Row
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MultiColourRow(bitmap: Array[Byte], screen: Array[Byte], colors: Array[Byte], bckgrd: Byte)

    create a new row of image data with up to 40 8x8 character columns

    create a new row of image data with up to 40 8x8 character columns

    bitmap

    up to 320 raw bytes of image bitmap data

    screen

    up to 40 raw bytes of image screen data

    colors

    up to 40 raw bytes of image colors data

    bckgrd

    single byte of 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 background colour

  8. val bitmap: Array[Byte]

    up to 320 raw bytes of image bitmap data

  9. def charWidth: Int

    Returns number of 8x8 characters in the entire row.

    Returns number of 8x8 characters in the entire row.

    Definition Classes
    Row
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. val colors: Array[Byte]

    up to 40 raw bytes of image colors data

  12. val commentLine: String

    Returns a single separating comment line for use in methods generating source code strings.

    Returns a single separating comment line for use in methods generating source code strings.

    Definition Classes
    Row
  13. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def firstPixelOffset(bitmapData: Array[Byte]): Int

    Returns offset of the first pixel set in a given bitmap single row data.

    Returns offset of the first pixel set in a given bitmap single row data.

    bitmapData

    up to 320 (divisible by 8) raw bytes of bitmap data

    Definition Classes
    Row
  17. def fullBitmap(fill: Byte = 0x00.toByte): Array[Byte]

    Returns full bitmap data of the entire row (with padded values to achieve full-screen width).

    Returns full bitmap data of the entire row (with padded values to achieve full-screen width).

    fill

    byte to fill in padded values with (defaults to 0x00)

    Definition Classes
    MultiColourRowRow
  18. def fullColors(fill: Byte = bckgrd): Array[Byte]

    Returns full colors data of the entire row (with padded values to achieve full-screen width).

    Returns full colors data of the entire row (with padded values to achieve full-screen width).

    fill

    byte to fill in padded values with

  19. def fullScreen(fill: Byte = bckgrd): Array[Byte]

    Returns full screen data of the entire row (with padded values to achieve full-screen width).

    Returns full screen data of the entire row (with padded values to achieve full-screen width).

    fill

    byte to fill in padded values with (defaults to row background colour)

    Definition Classes
    MultiColourRowRow
  20. final def getClass(): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def lastPixelOffset(bitmapData: Array[Byte]): Int

    Returns offset of the last pixel set in a given bitmap single row data.

    Returns offset of the last pixel set in a given bitmap single row data.

    bitmapData

    up to 320 (divisible by 8) raw bytes of bitmap data

    Definition Classes
    Row
  24. def leftMargin: Int

    Returns left margin column as a character offset of the first non-empty 8x8 bits area.

    Returns left margin column as a character offset of the first non-empty 8x8 bits area.

    Definition Classes
    Row
  25. def leftPixelMargin: Int

    Returns left margin column as an offset of the first pixel set.

    Returns left margin column as an offset of the first pixel set.

    Definition Classes
    Row
  26. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  29. def pixelSize: Byte

    Indicates how many bits of data count as a single pixel in multicolour mode (2 pixels).

    Indicates how many bits of data count as a single pixel in multicolour mode (2 pixels).

    Definition Classes
    MultiColourRowRow
  30. def pixelWidth: Int

    Returns number of pixels (with defined "width") in the entire row.

    Returns number of pixels (with defined "width") in the entire row.

    Definition Classes
    Row
  31. def rightMargin: Int

    Returns right margin column as a character offset of the last non-empty 8x8 bits area.

    Returns right margin column as a character offset of the last non-empty 8x8 bits area.

    Definition Classes
    Row
  32. def rightPixelMargin: Int

    Returns right margin column as an offset of the last pixel set.

    Returns right margin column as an offset of the last pixel set.

    Definition Classes
    Row
  33. val screen: Array[Byte]

    up to 40 raw bytes of image screen data

  34. def serialize(fullRow: Boolean = true): String

    Returns serialized row data which can be exported and used conveniently by any external program.

    Returns serialized row data which can be exported and used conveniently by any external program.

    fullRow

    when flag is set the entire (full-width) row data will be included in the output

    Definition Classes
    MultiColourRowRow
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toCode(label: String, fullRow: Boolean = false): String

    Returns source code string which is ready to be compiled by "dreamass" and correctly recognized by a new "Attitude" diskmag engine.

    Returns source code string which is ready to be compiled by "dreamass" and correctly recognized by a new "Attitude" diskmag engine.

    fullRow

    when flag is set the entire (full-width) row data will be included in the output

    Definition Classes
    MultiColourRowRow
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

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

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

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

    Specifies current (maximum) width of row data counted as a number of 8x8 character columns.

    Specifies current (maximum) width of row data counted as a number of 8x8 character columns.

    Definition Classes
    MultiColourRowRow

Inherited from Row

Inherited from AnyRef

Inherited from Any