create a new MultiColourSlice image data
create a new MultiColourSlice image data
plain hi-resolution bitmap data of an image
screen portion of colours data of an image
colors portion of colours data of an image
optional single byte of image border colour
single byte of image background colour
total width of a slice in number of pixels
total height of a slice in number of pixels
total height of a slice in number of pixels
total height of a slice in number of pixels
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.
An actual image mode.
An actual image mode.
An actual char width of this MultiColour image.
An actual char width of this MultiColour image.
An actual char height of this MultiColour image.
An actual char height of this MultiColour image.
Returns the C64 colour of the pixel at [x,y].
Returns the C64 colour of the pixel at [x,y].
X coordinate of a requested pixel
Y coordinate of a requested pixel
Converts given pixel coordinates into screen coordinates.
Converts given pixel coordinates into screen coordinates.
X coordinate of a requested pixel
Y coordinate of a requested pixel
tuple with a pair of calculated screen coordinates
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!
Returns a new MultiColourSlice instance with truncated contents of the image.
Returns a new MultiColourSlice instance with truncated contents of the image.
first screen row of a rectangular selection area considered as a number of 8x8 character blocks
last screen row a rectangular selection area (inclusive) considered as a number of 8x8 character blocks
Validates consistency of an object instance data.
Validates consistency of an object instance data.
Validates whether given pixel coordinates are located within the image.
Validates whether given pixel coordinates are located within the image.
X coordinate of the pixel
Y coordinate of the pixel
total width of a slice in number of pixels
total width of a slice in number of pixels
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.
MultiColour image slice enables limiting amount of graphic data to a specified part of an original picture.