Syntax
| window.ID.shape.from.ID(x,y, width,height, toX,toY, transparentColor, polygon) |
Parameters
| INT | x,y | Position of the part of the window to use as a mask.
| | INT | width,height | Size of the part of the image to use as mask.
| | INT | toX,toY | Optional. Position of the part of the image in the target window.
| | COLOR | transparentColor | Optional. Transparent color. When set, the specified color is transparent.
| | ARRAY | polygon | Optional. Vectorial mask to be added to the bitmap mask. |
Return value
No value is returned.
Description
Attrbiutes a non-rectangular, bitmap based shape to the window.
The first ID it the window to shape.
The second ID is the image ID. For more info: draw.mem.create.
When transparentColor is not set, the color of the pixel at the top-left corner of the bitmap is used as a transparent color. |
|