Class RasterImage
Base class for some graphical controls.
-
Graphic
-
RasterImage 🡄 Graphic 🡄 Object
-
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:
-
TransparentColor
-
Type:
-
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:
-
setTransparentColor ()
-
Sets the color that will be rendered as transparent when drawn.
Type: