Parameter | Type | Description | Example |
---|---|---|---|
object | The boundary information. | ||
Width | long | The width. Unit: pixel. | 200 |
Height | long | The height. Unit: pixel. | 300 |
Left | long | The distance from the X-coordinate of the vertex to the left edge. | 10 |
Top | long | The distance from the Y-coordinate of the vertex to the top. | 30 |
Polygon | array | The polygon formed by a number of points. This parameter takes effect only when the boundary describes a polygon rather than a rectangle. Note
This parameter is mutually exclusive to the following parameters that form a rectangle: Width, Height, Left, and Top. A boundary describes only a rectangle or a polygon.
| |
PointInt64 | The coordinates of points that form the polygon. |