In This Topic
Sets an image region, which should be processed by the image processing command.
Syntax
Parameters
- x
- Coordinate of the left top corner of the rectangular region of interest. Valid value is 0 and any positive value. Default value is 0.
- y
- Coordinate of the left top corner of the rectangular region of interest. Valid value is 0 and any positive value. Default value is 0.
- w
- Width of the rectangular region of interest. Valid value is 0 and any positive value. Default value is 0.
- h
- Height of the rectangular region of interest. Valid value is 0 and any positive value. Default value is 0.
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also