public interface IImageMask
extends com.aspose.ms.System.ICloneable
Describes a mask.
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getBounds()
Gets the bounds, in pixels, of this mask.
|
byte |
getByteOpacity(int x,
int y)
Gets the opacity of the specified pixel with byte precision.
|
int |
getHeight()
Gets the height, in pixels, of this mask.
|
Rectangle |
getSelectionBounds()
Gets the bounds of the selected part of the mask, in pixels.
|
RasterImage |
getSource()
Gets the source image used to create this mask, if exists.
|
int |
getWidth()
Gets the width, in pixels, of this mask.
|
boolean |
isOpaque(int x,
int y)
Checks if the specified pixel is opaque.
|
boolean |
isTransparent(int x,
int y)
Checks if the specified pixel is transparent.
|
RasterImage getSource()
Gets the source image used to create this mask, if exists.
int getWidth()
Gets the width, in pixels, of this mask.
int getHeight()
Gets the height, in pixels, of this mask.
Rectangle getBounds()
Gets the bounds, in pixels, of this mask.
Rectangle getSelectionBounds()
Gets the bounds of the selected part of the mask, in pixels.
boolean isOpaque(int x,
int y)
Checks if the specified pixel is opaque.
x - The x-coordinate of the pixel.y - The y-coordinate of the pixel.boolean isTransparent(int x,
int y)
Checks if the specified pixel is transparent.
x - The x-coordinate of the pixel.y - The y-coordinate of the pixel.byte getByteOpacity(int x,
int y)
Gets the opacity of the specified pixel with byte precision.
x - The x-coordinate of the pixel.y - The y-coordinate of the pixel.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.