Class RasterImage

Base class for some graphical controls.

Inheritance

Graphic RasterImage 🡄 Graphic 🡄 Object

Properties

Canvas:
PixelFormat The pixelformat for this image.
TransparentColor

Methods

getCanvas () Returns the Canvas object for this image.
getPixelFormat () Returns the current pixelformat.
getTransparentColor () Returns the color set to be transparent.
setPixelFormat ( pixelformat ) Sets the pixelformat for this image.
setTransparentColor () Sets the color that will be rendered as transparent when drawn.


Inheritance

Graphic
RasterImage 🡄 Graphic 🡄 Object

Properties

Canvas:
Canvas
PixelFormat
The pixelformat for this image. Will clear the current image if it had one. Supported pixelformats: pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit (recommended).

Type:

    PixelFormat
TransparentColor

Type:

    integer

Methods

getCanvas ()
Returns the Canvas object for this image.

Returns:

    Canvas
getPixelFormat ()
Returns the current pixelformat.

Returns:

    PixelFormat
getTransparentColor ()
Returns the color set to be transparent.
setPixelFormat ( pixelformat )
Sets the pixelformat for this image. Will clear the current image if it had one. Supported pixelformats: pf1bit, pf4bit, pf8bit, pf15bit, pf16bit, pf24bit, pf32bit (recommended)

Parameters:

  • pixelformat
setTransparentColor ()
Sets the color that will be rendered as transparent when drawn.

Type:

    integer color
generated by LDoc 1.4.6-antum-dev-1 Last updated 2019-02-27 23:30:35