Packages

class MultiColourSlice extends MultiColour

MultiColour image slice enables limiting amount of graphic data to a specified part of an original picture.

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

Instance Constructors

  1. new MultiColourSlice(bitmap: Bitmap, screen: Screen, colors: Screen, border: Option[Byte], bckgrd: Byte, width: Int, height: Int)

    create a new MultiColourSlice image data

    create a new MultiColourSlice 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

    width

    total width of a slice in number of pixels

    height

    total height of a slice in number of pixels

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val bckgrd: Byte
    Definition Classes
    MultiColour
  6. val bitmap: Bitmap

    Plain hi-resolution bitmap data of the image.

    Plain hi-resolution bitmap data of the image.

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

    Optional single byte of image border colour.

    Optional single byte of image border colour.

    Definition Classes
    MultiColourCBM
  8. def canEqual(that: Any): Boolean
    Definition Classes
    MultiColour → Equals
  9. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. val colors: Screen
    Definition Classes
    MultiColour
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(other: Any): Boolean
    Definition Classes
    MultiColour → Equals → AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val height: Int

    An actual pixel height of the image.

    An actual pixel height of the image.

    Definition Classes
    MultiColourSliceMultiColourCBM
  16. 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
  17. val imageMode: String

    An actual image mode.

    An actual image mode.

    Definition Classes
    CBM
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val numCharCols: Int

    An actual char width of this MultiColour image.

    An actual char width of this MultiColour image.

    Definition Classes
    MultiColourCBM
  23. val numCharRows: Int

    An actual char height of this MultiColour image.

    An actual char height of this MultiColour image.

    Definition Classes
    MultiColourCBM
  24. 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
  25. 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
  26. def productElementNames: Iterator[String]
    Definition Classes
    Product
  27. 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!

    Definition Classes
    MultiColour
  28. val screen: Screen
    Definition Classes
    MultiColour
  29. 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

    Definition Classes
    MultiColour
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def validate(): Unit

    Validates consistency of an object instance data.

    Validates consistency of an object instance data.

    Definition Classes
    MultiColourSliceMultiColourCBM
  32. 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
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. val width: Int

    An actual pixel width of the image.

    An actual pixel width of the image.

    Definition Classes
    MultiColourSliceMultiColourCBM
  37. 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

Inherited from MultiColour

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CBM

Inherited from AnyRef

Inherited from Any

Ungrouped