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.
- Alphabetic
- By Inheritance
- MultiColourRow
- Row
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- 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
- 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: Array[Byte]
- def charWidth: Int
Returns number of 8x8 characters in the entire row.
Returns number of 8x8 characters in the entire row.
- Definition Classes
- Row
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val colors: Array[Byte]
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- 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
- MultiColourRow → Row
- 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
- 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
- MultiColourRow → Row
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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
- 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
- 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
- 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()
- 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
- MultiColourRow → Row
- 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
- 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
- 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
- val screen: Array[Byte]
- 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
- MultiColourRow → Row
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- MultiColourRow → Row
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
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
- MultiColourRow → Row