GetFittingRectangle
Contenido
[
Ocultar
]GetFittingRectangle(Rectangle, int, int)
Obtiene el rectángulo que se ajusta a la imagen actual.
public static Rectangle GetFittingRectangle(Rectangle rectangle, int width, int height)
| Parámetro | Escribe | Descripción |
|---|---|---|
| rectangle | Rectangle | El rectángulo para obtener el rectángulo adecuado. |
| width | Int32 | El ancho del objeto. |
| height | Int32 | La altura del objeto. |
Valor_devuelto
El rectángulo de ajuste o excepción si no se encuentra ningún rectángulo de ajuste.
Ver también
- struct Rectangle
- class Image
- espacio de nombres Aspose.Imaging
- asamblea Aspose.Imaging
GetFittingRectangle(Rectangle, int[], int, int)
Obtiene el rectángulo que se ajusta a la imagen actual.
public static Rectangle GetFittingRectangle(Rectangle rectangle, int[] pixels, int width,
int height)
| Parámetro | Escribe | Descripción |
|---|---|---|
| rectangle | Rectangle | El rectángulo para obtener el rectángulo adecuado. |
| pixels | Int32[] | Los píxeles ARGB de 32 bits. |
| width | Int32 | El ancho del objeto. |
| height | Int32 | La altura del objeto. |
Valor_devuelto
El rectángulo de ajuste o excepción si no se encuentra ningún rectángulo de ajuste.
Ver también
- struct Rectangle
- class Image
- espacio de nombres Aspose.Imaging
- asamblea Aspose.Imaging