Bitmap:create_partial_bitmap()
Bitmap:create_partial_bitmap(x, y, width, height)
This method creates a bitmap that corresponds to a specific area within the original bitmap.
Parameters
Parameter | Type | Description |
---|---|---|
x | number | X-coordinate of the top-left corner of the specific area. |
y | number | Y-coordinate of the top-left corner of the specific area. |
width | number | Width of the specific area. |
height | number | Height of the specific area. |
Return Values
This method returns a Bitmap
object.