class documentation
class Image(engine.Image):
Store a native 2D image and its display size.
Methods
- set_size(
size) - Set the image size.
- set_size(
- __del__()
- Release the native image resources.
| Parameters | |
| size | Image width and height. |
| is | Whether the image uses 8-bit graphics. |
| data | Optional raw pixel data. Defaults to None. |
| path | Optional file path for image data. Defaults to "". |
| Method | __setattr__ |
Set an image attribute, routing to the matching setter. |
| Instance Variable | size |
Image size in pixels. Writable. |