Method CreateBlob
CreateBlob(Rectangle, IPointD, int?)
ブロブを生成します。
Declaration
public static IBlob CreateBlob(Rectangle rectangle, IPointD centroid = null, int? area = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Rectangle | rectangle | 矩形 |
| IPointD | centroid | 重心 |
| int? | area | 面積 |
Returns
| Type | Description |
|---|---|
| IBlob | ブロブ |
CreateBlob(IPointD, int, int, IPointD, int?)
ブロブを生成します。
Declaration
public static IBlob CreateBlob(IPointD centerPoint, int width, int height, IPointD centroid = null, int? area = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPointD | centerPoint | 中心座標 |
| int | width | 幅 |
| int | height | 高さ |
| IPointD | centroid | 重心 |
| int? | area | 面積 |
Returns
| Type | Description |
|---|---|
| IBlob | ブロブ |