Region

Inheritance: java.lang.Object

public final class Region

Describes the interior of a graphics shape composed of rectangles and paths. This class cannot be inherited.

Constructors

ConstructorDescription
Region()Initializes a new Region.
Region(RectangleF rect)Initializes a new T:Aspose.Imaging.Region from the specified T:Aspose.Imaging.RectangleF structure.
Region(Rectangle rect)Initializes a new T:Aspose.Imaging.Region from the specified T:Aspose.Imaging.Rectangle structure.
Region(GraphicsPath path)Initializes a new T:Aspose.Imaging.Region with the specified T:Aspose.Imaging.GraphicsPath.

Methods

MethodDescription
deepClone()Creates an exact deep copy of this com.aspose.imaging.region.
makeInfinite()Initializes this com.aspose.imaging.Region object to an infinite interior.
makeEmpty()Initializes this com.aspose.imaging.Region to an empty interior.
intersect(RectangleF rect)Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.RectangleF structure.
intersect(Rectangle rect)Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.Rectangle structure.
intersect(GraphicsPath path)Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.graphicsPath.
intersect(Region region)Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.region.
union(RectangleF rect)Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.RectangleF structure.
union(Rectangle rect)Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.Rectangle structure.
union(GraphicsPath path)Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.graphicsPath.
union(Region region)Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.region.
xor(RectangleF rect)Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.RectangleF structure.
xor(Rectangle rect)Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.Rectangle structure.
xor(GraphicsPath path)Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.graphicsPath.
xor(Region region)Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.region.
exclude(RectangleF rect)Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.RectangleF structure.
exclude(Rectangle rect)Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.Rectangle structure.
exclude(GraphicsPath path)Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.graphicsPath.
exclude(Region region)Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.region.
complement(RectangleF rect)Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.RectangleF structure that does not intersect with this com.aspose.imaging.region.
complement(Rectangle rect)Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.Rectangle structure that does not intersect with this com.aspose.imaging.region.
complement(GraphicsPath path)Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.GraphicsPath that does not intersect with this com.aspose.imaging.region.
complement(Region region)Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.Region that does not intersect with this com.aspose.imaging.region.
translate(float dx, float dy)Offsets the coordinates of this com.aspose.imaging.Region by the specified amount.
translate(int dx, int dy)Offsets the coordinates of this com.aspose.imaging.Region by the specified amount.
transform(Matrix matrix)Transforms this com.aspose.imaging.Region by the specified com.aspose.imaging.matrix.
isEmpty(Graphics g)Tests whether this com.aspose.imaging.Region has an empty interior on the specified drawing surface.
isInfinite(Graphics g)Tests whether this com.aspose.imaging.Region has an infinite interior on the specified drawing surface.
isEquals(Region region, Graphics g)Tests whether the specified com.aspose.imaging.Region is identical to this com.aspose.imaging.Region on the specified drawing surface.
isVisible(float x, float y)Tests whether the specified point is contained within this com.aspose.imaging.region.
isVisible(PointF point)Tests whether the specified com.aspose.imaging.PointF structure is contained within this com.aspose.imaging.region.
isVisible(float x, float y, Graphics g)Tests whether the specified point is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
isVisible(PointF point, Graphics g)Tests whether the specified com.aspose.imaging.PointF structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
isVisible(float x, float y, float width, float height)Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.region.
isVisible(RectangleF rect)Tests whether any portion of the specified com.aspose.imaging.RectangleF structure is contained within this com.aspose.imaging.region.
isVisible(float x, float y, float width, float height, Graphics g)Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
isVisible(RectangleF rect, Graphics g)Tests whether any portion of the specified com.aspose.imaging.RectangleF structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
isVisible(int x, int y, Graphics g)Tests whether the specified point is contained within this com.aspose.imaging.Region object when drawn using the specified com.aspose.imaging.Graphics object.
isVisible(Point point)Tests whether the specified com.aspose.imaging.Point structure is contained within this com.aspose.imaging.region.
isVisible(Point point, Graphics g)Tests whether the specified com.aspose.imaging.Point structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
isVisible(int x, int y, int width, int height)Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.region.
isVisible(Rectangle rect)Tests whether any portion of the specified com.aspose.imaging.Rectangle structure is contained within this com.aspose.imaging.region.
isVisible(int x, int y, int width, int height, Graphics g)Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
isVisible(Rectangle rect, Graphics g)Tests whether any portion of the specified com.aspose.imaging.Rectangle structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.
equals(Object o)Check if objects are equal.
hashCode()Get hash code of the current object.

Region()

public Region()

Initializes a new Region.

Region(RectangleF rect)

public Region(RectangleF rect)

Initializes a new T:Aspose.Imaging.Region from the specified T:Aspose.Imaging.RectangleF structure.

Parameters:

ParameterTypeDescription
rectRectangleFA T:Aspose.Imaging.RectangleF structure that defines the interior of the new T:Aspose.Imaging.Region.

Region(Rectangle rect)

public Region(Rectangle rect)

Initializes a new T:Aspose.Imaging.Region from the specified T:Aspose.Imaging.Rectangle structure.

Parameters:

ParameterTypeDescription
rectRectangleA T:Aspose.Imaging.Rectangle structure that defines the interior of the new T:Aspose.Imaging.Region.

Region(GraphicsPath path)

public Region(GraphicsPath path)

Initializes a new T:Aspose.Imaging.Region with the specified T:Aspose.Imaging.GraphicsPath.

Parameters:

ParameterTypeDescription
pathGraphicsPathA T:Aspose.Imaging.GraphicsPath that defines the new T:Aspose.Imaging.Region.

deepClone()

public Region deepClone()

Creates an exact deep copy of this com.aspose.imaging.region.

Returns: Region - The com.aspose.imaging.Region that this method creates.

makeInfinite()

public void makeInfinite()

Initializes this com.aspose.imaging.Region object to an infinite interior.

makeEmpty()

public void makeEmpty()

Initializes this com.aspose.imaging.Region to an empty interior.

intersect(RectangleF rect)

public void intersect(RectangleF rect)

Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.RectangleF structure.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to intersect with this com.aspose.imaging.region.

intersect(Rectangle rect)

public void intersect(Rectangle rect)

Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.Rectangle structure.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to intersect with this com.aspose.imaging.region.

intersect(GraphicsPath path)

public void intersect(GraphicsPath path)

Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.graphicsPath.

Parameters:

ParameterTypeDescription
pathGraphicsPathThe com.aspose.imaging.GraphicsPath to intersect with this com.aspose.imaging.region.

intersect(Region region)

public void intersect(Region region)

Updates this com.aspose.imaging.Region to the intersection of itself with the specified com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.imaging.Region to intersect with this com.aspose.imaging.region.

union(RectangleF rect)

public void union(RectangleF rect)

Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.RectangleF structure.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to unite with this com.aspose.imaging.region.

union(Rectangle rect)

public void union(Rectangle rect)

Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.Rectangle structure.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to unite with this com.aspose.imaging.region.

union(GraphicsPath path)

public void union(GraphicsPath path)

Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.graphicsPath.

Parameters:

ParameterTypeDescription
pathGraphicsPathThe com.aspose.imaging.GraphicsPath to unite with this com.aspose.imaging.region.

union(Region region)

public void union(Region region)

Updates this com.aspose.imaging.Region to the union of itself and the specified com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.imaging.Region to unite with this com.aspose.imaging.region.

xor(RectangleF rect)

public void xor(RectangleF rect)

Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.RectangleF structure.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to xor with this com.aspose.imaging.region.

xor(Rectangle rect)

public void xor(Rectangle rect)

Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.Rectangle structure.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to xor with this com.aspose.imaging.region.

xor(GraphicsPath path)

public void xor(GraphicsPath path)

Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.graphicsPath.

Parameters:

ParameterTypeDescription
pathGraphicsPathThe com.aspose.imaging.GraphicsPath to xor with this com.aspose.imaging.region.

xor(Region region)

public void xor(Region region)

Updates this com.aspose.imaging.Region to the union minus the intersection of itself with the specified com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.imaging.Region to xor with this com.aspose.imaging.region.

exclude(RectangleF rect)

public void exclude(RectangleF rect)

Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.RectangleF structure.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to exclude from this com.aspose.imaging.region.

exclude(Rectangle rect)

public void exclude(Rectangle rect)

Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.Rectangle structure.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to exclude from this com.aspose.imaging.region.

exclude(GraphicsPath path)

public void exclude(GraphicsPath path)

Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.graphicsPath.

Parameters:

ParameterTypeDescription
pathGraphicsPathThe com.aspose.imaging.GraphicsPath to exclude from this com.aspose.imaging.region.

exclude(Region region)

public void exclude(Region region)

Updates this com.aspose.imaging.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.imaging.Region to exclude from this com.aspose.imaging.region.

complement(RectangleF rect)

public void complement(RectangleF rect)

Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.RectangleF structure that does not intersect with this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to complement this com.aspose.imaging.region.

complement(Rectangle rect)

public void complement(Rectangle rect)

Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.Rectangle structure that does not intersect with this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to complement this com.aspose.imaging.region.

complement(GraphicsPath path)

public void complement(GraphicsPath path)

Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.GraphicsPath that does not intersect with this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
pathGraphicsPathThe com.aspose.imaging.GraphicsPath to complement this com.aspose.imaging.region.

complement(Region region)

public void complement(Region region)

Updates this com.aspose.imaging.Region to contain the portion of the specified com.aspose.imaging.Region that does not intersect with this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.imaging.Region object to complement this com.aspose.imaging.Region object.

translate(float dx, float dy)

public void translate(float dx, float dy)

Offsets the coordinates of this com.aspose.imaging.Region by the specified amount.

Parameters:

ParameterTypeDescription
dxfloatThe amount to offset this com.aspose.imaging.Region horizontally.
dyfloatThe amount to offset this com.aspose.imaging.Region vertically.

translate(int dx, int dy)

public void translate(int dx, int dy)

Offsets the coordinates of this com.aspose.imaging.Region by the specified amount.

Parameters:

ParameterTypeDescription
dxintThe amount to offset this com.aspose.imaging.Region horizontally.
dyintThe amount to offset this com.aspose.imaging.Region vertically.

transform(Matrix matrix)

public void transform(Matrix matrix)

Transforms this com.aspose.imaging.Region by the specified com.aspose.imaging.matrix.

Parameters:

ParameterTypeDescription
matrixMatrixThe com.aspose.imaging.Matrix by which to transform this com.aspose.imaging.region.

isEmpty(Graphics g)

public boolean isEmpty(Graphics g)

Tests whether this com.aspose.imaging.Region has an empty interior on the specified drawing surface.

Parameters:

ParameterTypeDescription
gGraphicsA com.aspose.imaging.Graphics that represents a drawing surface.

Returns: boolean - true if the interior of this com.aspose.imaging.Region is empty when the transformation associated with g is applied; otherwise, false.

isInfinite(Graphics g)

public boolean isInfinite(Graphics g)

Tests whether this com.aspose.imaging.Region has an infinite interior on the specified drawing surface.

Parameters:

ParameterTypeDescription
gGraphicsA com.aspose.imaging.Graphics that represents a drawing surface.

Returns: boolean - true if the interior of this com.aspose.imaging.Region is infinite when the transformation associated with g is applied; otherwise, false.

isEquals(Region region, Graphics g)

public boolean isEquals(Region region, Graphics g)

Tests whether the specified com.aspose.imaging.Region is identical to this com.aspose.imaging.Region on the specified drawing surface.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.imaging.Region to test.
gGraphicsA com.aspose.imaging.Graphics that represents a drawing surface.

Returns: boolean - True if the interior of region is identical to the interior of this region when the transformation associated with the g parameter is applied; otherwise, false.

isVisible(float x, float y)

public boolean isVisible(float x, float y)

Tests whether the specified point is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
xfloatThe x-coordinate of the point to test.
yfloatThe y-coordinate of the point to test.

Returns: boolean - True when the specified point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(PointF point)

public boolean isVisible(PointF point)

Tests whether the specified com.aspose.imaging.PointF structure is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
pointPointFThe com.aspose.imaging.PointF structure to test.

Returns: boolean - true when point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(float x, float y, Graphics g)

public boolean isVisible(float x, float y, Graphics g)

Tests whether the specified point is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
xfloatThe x-coordinate of the point to test.
yfloatThe y-coordinate of the point to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - True when the specified point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(PointF point, Graphics g)

public boolean isVisible(PointF point, Graphics g)

Tests whether the specified com.aspose.imaging.PointF structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
pointPointFThe com.aspose.imaging.PointF structure to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(float x, float y, float width, float height)

public boolean isVisible(float x, float y, float width, float height)

Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
xfloatThe x-coordinate of the upper-left corner of the rectangle to test.
yfloatThe y-coordinate of the upper-left corner of the rectangle to test.
widthfloatThe width of the rectangle to test.
heightfloatThe height of the rectangle to test.

Returns: boolean - true when any portion of the specified rectangle is contained within this com.aspose.imaging.Region object; otherwise, false.

isVisible(RectangleF rect)

public boolean isVisible(RectangleF rect)

Tests whether any portion of the specified com.aspose.imaging.RectangleF structure is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to test.

Returns: boolean - true when any portion of rect is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(float x, float y, float width, float height, Graphics g)

public boolean isVisible(float x, float y, float width, float height, Graphics g)

Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
xfloatThe x-coordinate of the upper-left corner of the rectangle to test.
yfloatThe y-coordinate of the upper-left corner of the rectangle to test.
widthfloatThe width of the rectangle to test.
heightfloatThe height of the rectangle to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when any portion of the specified rectangle is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(RectangleF rect, Graphics g)

public boolean isVisible(RectangleF rect, Graphics g)

Tests whether any portion of the specified com.aspose.imaging.RectangleF structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
rectRectangleFThe com.aspose.imaging.RectangleF structure to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when rect is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(int x, int y, Graphics g)

public boolean isVisible(int x, int y, Graphics g)

Tests whether the specified point is contained within this com.aspose.imaging.Region object when drawn using the specified com.aspose.imaging.Graphics object.

Parameters:

ParameterTypeDescription
xintThe x-coordinate of the point to test.
yintThe y-coordinate of the point to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when the specified point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(Point point)

public boolean isVisible(Point point)

Tests whether the specified com.aspose.imaging.Point structure is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
pointPointThe com.aspose.imaging.Point structure to test.

Returns: boolean - true when point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(Point point, Graphics g)

public boolean isVisible(Point point, Graphics g)

Tests whether the specified com.aspose.imaging.Point structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
pointPointThe com.aspose.imaging.Point structure to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when point is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(int x, int y, int width, int height)

public boolean isVisible(int x, int y, int width, int height)

Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
xintThe x-coordinate of the upper-left corner of the rectangle to test.
yintThe y-coordinate of the upper-left corner of the rectangle to test.
widthintThe width of the rectangle to test.
heightintThe height of the rectangle to test.

Returns: boolean - true when any portion of the specified rectangle is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(Rectangle rect)

public boolean isVisible(Rectangle rect)

Tests whether any portion of the specified com.aspose.imaging.Rectangle structure is contained within this com.aspose.imaging.region.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to test.

Returns: boolean - This method returns true when any portion of rect is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(int x, int y, int width, int height, Graphics g)

public boolean isVisible(int x, int y, int width, int height, Graphics g)

Tests whether any portion of the specified rectangle is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
xintThe x-coordinate of the upper-left corner of the rectangle to test.
yintThe y-coordinate of the upper-left corner of the rectangle to test.
widthintThe width of the rectangle to test.
heightintThe height of the rectangle to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when any portion of the specified rectangle is contained within this com.aspose.imaging.Region; otherwise, false.

isVisible(Rectangle rect, Graphics g)

public boolean isVisible(Rectangle rect, Graphics g)

Tests whether any portion of the specified com.aspose.imaging.Rectangle structure is contained within this com.aspose.imaging.Region when drawn using the specified com.aspose.imaging.graphics.

Parameters:

ParameterTypeDescription
rectRectangleThe com.aspose.imaging.Rectangle structure to test.
gGraphicsA com.aspose.imaging.Graphics that represents a graphics context.

Returns: boolean - true when any portion of the rect is contained within this com.aspose.imaging.Region; otherwise, false.

equals(Object o)

public boolean equals(Object o)

Check if objects are equal.

Parameters:

ParameterTypeDescription
ojava.lang.ObjectThe other object.

Returns: boolean - The equality comparison result.

hashCode()

public int hashCode()

Get hash code of the current object.

Returns: int - The hash code.