Bitmap object
Bitmap object represents a bitmap.
Constructors
| Constructor |
|---|
graphics.bitmap() |
Bitmap:create_partial_bitmap() |
Properties
| Name | Description |
|---|---|
Bitmap.width | Width of the bitmap |
Bitmap.height | Height of the bitmap |
Bitmap.opacity | Opacity of the bitmap |
Bitmap.brush_extend_mode_x | X axis extend mode for brush usage |
Bitmap.brush_extend_mode_y | Y axis extend mode for brush usage |
Bitmap.brush_interpolation_mode | Interpolation mode for brush usage |
Methods
| Name | Description |
|---|---|
Bitmap:set_origin() | Set new origin of the bitmap |
Bitmap:create_partial_bitmap() | Create a bitmap that corresponds to a specific area within the original bitmap |