public class EmptyImageMask extends ImageMask
Describes an empty non-abstract mask.
| Constructor and Description |
|---|
EmptyImageMask(int width,
int height)
Initializes a new instance of the
EmptyImageMask class with the specified width and height. |
| Modifier and Type | Method and Description |
|---|---|
ImageMask |
crop(Rectangle rectangle)
Crops mask with the specified rectangle.
|
Object |
deepClone()
Creates a new object that is a copy of the current instance.
|
boolean |
get_Item(int x,
int y)
Gets the opacity of the specified pixel.
|
Rectangle |
getSelectionBounds()
Gets the bounds of the selected part of the mask, in pixels.
|
ImageMask |
inflate(int size)
Inflates this mask by the specified amount.
|
apply, applyTo, crop, crop, exclusiveDisjunction, exclusiveDisjunction, exclusiveDisjunction, exclusiveDisjunction, exclusiveDisjunction, getBounds, getByteOpacity, getFeathered, getFeathered, getHeight, getSource, getWidth, intersect, intersect, intersect, intersect, intersect, invert, isOpaque, isTransparent, op_Addition, op_ExclusiveOr, op_LogicalNot, op_Multiply, op_Subtraction, subtract, subtract, subtract, subtract, subtract, to_ImageGrayscaleMask, union, union, union, union, unionpublic EmptyImageMask(int width,
int height)
Initializes a new instance of the EmptyImageMask class with the specified width and height.
width - Width of the mask.height - Height of the mask.public Rectangle getSelectionBounds()
Gets the bounds of the selected part of the mask, in pixels.
public boolean get_Item(int x,
int y)
Gets the opacity of the specified pixel.
public ImageMask inflate(int size)
Inflates this mask by the specified amount.
Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.