Package libavg :: Module avg :: Class Image

Class Image




A static raster image on the screen. Images are loaded from files on program start. Alpha channels of the image files are used as transparency information.

Instance Methods
 
setBitmap(bitmap)
Sets the bitmap pixels of the image.

Inherited from RasterNode: getBitmap, getOrigVertexCoords, getWarpedVertexCoords, setWarpedVertexCoords

Inherited from Node: __init__, getParent, getRelPos, releaseEventCapture, setEventCapture, setEventHandler

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties
  href
The source filename of the image.
  hue
A hue to color the image in (ro, deprecated).
  saturation
The saturation the image should have (ro, deprecated).

Inherited from RasterNode: angle, blendmode, maxtileheight, maxtilewidth, pivotx, pivoty

Inherited from Node: active, height, id, opacity, sensitive, width, x, y

Inherited from object: __class__

Method Details

setBitmap(bitmap)

 
Sets the bitmap pixels of the image.
Parameters:
  • bitmap - A libavg bitmap object to use.

Property Details

href

The source filename of the image.
Get Method:
unreachable(...)
Set Method:
unreachable(...)

hue

A hue to color the image in (ro, deprecated).
Get Method:
unreachable(...)

saturation

The saturation the image should have (ro, deprecated).
Get Method:
unreachable(...)