Image.GetFittingRectangle
GetFittingRectangle(Rectangle, int, int)
現在の画像に合う四角形を取得します.
public static Rectangle GetFittingRectangle(Rectangle rectangle, int width, int height)
| パラメータ | タイプ | 説明 |
|---|---|---|
| rectangle | Rectangle | フィットする四角形を取得する四角形. |
| width | Int32 | オブジェクトの幅. |
| height | Int32 | オブジェクトの高さ. |
戻り値
適切な四角形または適切な四角形が見つからない場合の例外.
関連項目
- struct Rectangle
- class Image
- 名前空間 Aspose.PSD
- 組み立て Aspose.PSD
GetFittingRectangle(Rectangle, int[], int, int)
現在の画像に合う四角形を取得します.
public static Rectangle GetFittingRectangle(Rectangle rectangle, int[] pixels, int width,
int height)
| パラメータ | タイプ | 説明 |
|---|---|---|
| rectangle | Rectangle | フィットする四角形を取得する四角形. |
| pixels | Int32[] | 32 ビット ARGB ピクセル。 |
| width | Int32 | オブジェクトの幅. |
| height | Int32 | オブジェクトの高さ. |
戻り値
適切な四角形または適切な四角形が見つからない場合の例外.
関連項目
- struct Rectangle
- class Image
- 名前空間 Aspose.PSD
- 組み立て Aspose.PSD