Method Crop
Crop(IBoundingBox)
指定したバウンディングボックスで切り取った画像を作成します。
Declaration
IMenouImage Crop(IBoundingBox bbox)
Parameters
| Type | Name | Description |
|---|---|---|
| IBoundingBox | bbox | 対象のバウンディングボックス。 |
Returns
| Type | Description |
|---|---|
| IMenouImage | 切り取った結果の画像。 |
Crop(int, int, int, int, double)
指定した座標で切り取った画像を作成します。
Declaration
IMenouImage Crop(int x, int y, int width, int height, double angle)
Parameters
| Type | Name | Description |
|---|---|---|
| int | x | 切り取り原点X座標。 |
| int | y | 切り取り原点Y座標。 |
| int | width | 切り取り幅。 |
| int | height | 切り取り高さ。 |
| double | angle | 回転角度。単位 : 度。回転中心は矩形中心とし、時計回りに回転を行う。 |
Returns
| Type | Description |
|---|---|
| IMenouImage | 切り取った結果の画像。 |