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 T:Aspose.Imaging.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
complement(GraphicsPath path)Updates this com.aspose.psd.Region to contain the portion of the specified com.aspose.psd.GraphicsPath that does not intersect with this com.aspose.psd.region .
complement(Rectangle rect)Updates this com.aspose.psd.Region to contain the portion of the specified com.aspose.psd.Rectangle structure that does not intersect with this com.aspose.psd.region .
complement(RectangleF rect)Updates this com.aspose.psd.Region to contain the portion of the specified com.aspose.psd.RectangleF structure that does not intersect with this com.aspose.psd.region .
complement(Region region)Updates this com.aspose.psd.Region to contain the portion of the specified com.aspose.psd.Region that does not intersect with this com.aspose.psd.region .
deepClone()Creates an exact deep copy of this com.aspose.psd.region .
equals(Object arg0)
exclude(GraphicsPath path)Updates this com.aspose.psd.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.psd.graphicsPath .
exclude(Rectangle rect)Updates this com.aspose.psd.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.psd.Rectangle structure.
exclude(RectangleF rect)Updates this com.aspose.psd.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.psd.RectangleF structure.
exclude(Region region)Updates this com.aspose.psd.Region to contain only the portion of its interior that does not intersect with the specified com.aspose.psd.region .
getActions_internalized()Gets the region actions.
getClass()
hashCode()
intersect(GraphicsPath path)Updates this com.aspose.psd.Region to the intersection of itself with the specified com.aspose.psd.graphicsPath .
intersect(Rectangle rect)Updates this com.aspose.psd.Region to the intersection of itself with the specified com.aspose.psd.Rectangle structure.
intersect(RectangleF rect)Updates this com.aspose.psd.Region to the intersection of itself with the specified com.aspose.psd.RectangleF structure.
intersect(Region region)Updates this com.aspose.psd.Region to the intersection of itself with the specified com.aspose.psd.region .
isEmpty(Graphics g)Tests whether this com.aspose.psd.Region has an empty interior on the specified drawing surface.
isEquals(Region region, Graphics g)Tests whether the specified com.aspose.psd.Region is identical to this com.aspose.psd.Region on the specified drawing surface.
isInfinite(Graphics g)Tests whether this com.aspose.psd.Region has an infinite interior on the specified drawing surface.
isVisible(Point point)Tests whether the specified com.aspose.psd.Point structure is contained within this com.aspose.psd.region .
isVisible(Point point, Graphics g)Tests whether the specified com.aspose.psd.Point structure is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics .
isVisible(PointF point)Tests whether the specified com.aspose.psd.PointF structure is contained within this com.aspose.psd.region .
isVisible(PointF point, Graphics g)Tests whether the specified com.aspose.psd.PointF structure is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics .
isVisible(Rectangle rect)Tests whether any portion of the specified com.aspose.psd.Rectangle structure is contained within this com.aspose.psd.region .
isVisible(Rectangle rect, Graphics g)Tests whether any portion of the specified com.aspose.psd.Rectangle structure is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics .
isVisible(RectangleF rect)Tests whether any portion of the specified com.aspose.psd.RectangleF structure is contained within this com.aspose.psd.region .
isVisible(RectangleF rect, Graphics g)Tests whether any portion of the specified com.aspose.psd.RectangleF structure is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics .
isVisible(float x, float y)Tests whether the specified point is contained within this com.aspose.psd.region .
isVisible(float x, float y, Graphics g)Tests whether the specified point is contained within this com.aspose.psd.Region when drawn using the specified com.aspose.psd.graphics .
isVisible(float x, float y, float width, float height)Tests whether any portion of the specified rectangle is contained within this com.aspose.psd.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.psd.Region when drawn using the specified com.aspose.psd.graphics .
isVisible(int x, int y, Graphics g)Tests whether the specified point is contained within this com.aspose.psd.Region object when drawn using the specified com.aspose.psd.Graphics object.
isVisible(int x, int y, int width, int height)Tests whether any portion of the specified rectangle is contained within this com.aspose.psd.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.psd.Region when drawn using the specified com.aspose.psd.graphics .
makeEmpty()Initializes this com.aspose.psd.Region to an empty interior.
makeInfinite()Initializes this com.aspose.psd.Region object to an infinite interior.
notify()
notifyAll()
setOnChangeRegion_internalized(ChangeActionList value)Gets or sets the on change region.
toString()
transform(Matrix matrix)Transforms this com.aspose.psd.Region by the specified com.aspose.psd.matrix .
translate(float dx, float dy)Offsets the coordinates of this com.aspose.psd.Region by the specified amount.
translate(int dx, int dy)Offsets the coordinates of this com.aspose.psd.Region by the specified amount.
union(GraphicsPath path)Updates this com.aspose.psd.Region to the union of itself and the specified com.aspose.psd.graphicsPath .
union(Rectangle rect)Updates this com.aspose.psd.Region to the union of itself and the specified com.aspose.psd.Rectangle structure.
union(RectangleF rect)Updates this com.aspose.psd.Region to the union of itself and the specified com.aspose.psd.RectangleF structure.
union(Region region)Updates this com.aspose.psd.Region to the union of itself and the specified com.aspose.psd.region .
wait()
wait(long arg0)
wait(long arg0, int arg1)
xor(GraphicsPath path)Updates this com.aspose.psd.Region to the union minus the intersection of itself with the specified com.aspose.psd.graphicsPath .
xor(Rectangle rect)Updates this com.aspose.psd.Region to the union minus the intersection of itself with the specified com.aspose.psd.Rectangle structure.
xor(RectangleF rect)Updates this com.aspose.psd.Region to the union minus the intersection of itself with the specified com.aspose.psd.RectangleF structure.
xor(Region region)Updates this com.aspose.psd.Region to the union minus the intersection of itself with the specified com.aspose.psd.region .

Region()

public Region()

Initializes a new T:Aspose.Imaging.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 .

complement(GraphicsPath path)

public void complement(GraphicsPath path)

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

Parameters:

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

complement(Rectangle rect)

public void complement(Rectangle rect)

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

Parameters:

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

complement(RectangleF rect)

public void complement(RectangleF rect)

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

Parameters:

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

complement(Region region)

public void complement(Region region)

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

Parameters:

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

deepClone()

public Region deepClone()

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

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

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

exclude(GraphicsPath path)

public void exclude(GraphicsPath path)

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

Parameters:

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

exclude(Rectangle rect)

public void exclude(Rectangle rect)

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

Parameters:

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

exclude(RectangleF rect)

public void exclude(RectangleF rect)

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

Parameters:

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

exclude(Region region)

public void exclude(Region region)

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

Parameters:

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

getActions_internalized()

public RegionAction[] getActions_internalized()

Gets the region actions.

Returns: com.aspose.internal.RegionAction[] - The region actions.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

intersect(GraphicsPath path)

public void intersect(GraphicsPath path)

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

Parameters:

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

intersect(Rectangle rect)

public void intersect(Rectangle rect)

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

Parameters:

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

intersect(RectangleF rect)

public void intersect(RectangleF rect)

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

Parameters:

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

intersect(Region region)

public void intersect(Region region)

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

Parameters:

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

isEmpty(Graphics g)

public boolean isEmpty(Graphics g)

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

Parameters:

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

Returns: boolean - true if the interior of this com.aspose.psd.Region is empty 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.psd.Region is identical to this com.aspose.psd.Region on the specified drawing surface.

Parameters:

ParameterTypeDescription
regionRegionThe com.aspose.psd.Region to test.
gGraphicsA com.aspose.psd.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.

isInfinite(Graphics g)

public boolean isInfinite(Graphics g)

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

Parameters:

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

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

isVisible(Point point)

public boolean isVisible(Point point)

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

Parameters:

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

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

isVisible(Point point, Graphics g)

public boolean isVisible(Point point, Graphics g)

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

Parameters:

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

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

isVisible(PointF point)

public boolean isVisible(PointF point)

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

Parameters:

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

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

isVisible(PointF point, Graphics g)

public boolean isVisible(PointF point, Graphics g)

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

Parameters:

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

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

isVisible(Rectangle rect)

public boolean isVisible(Rectangle rect)

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

Parameters:

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

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

isVisible(Rectangle rect, Graphics g)

public boolean isVisible(Rectangle rect, Graphics g)

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

Parameters:

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

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

isVisible(RectangleF rect)

public boolean isVisible(RectangleF rect)

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

Parameters:

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

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

isVisible(RectangleF rect, Graphics g)

public boolean isVisible(RectangleF rect, Graphics g)

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

Parameters:

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

Returns: boolean - true when rect is contained within this com.aspose.psd.Region ; 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.psd.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.psd.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.psd.Region when drawn using the specified com.aspose.psd.graphics .

Parameters:

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

Returns: boolean - True when the specified point is contained within this com.aspose.psd.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.psd.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.psd.Region object; 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.psd.Region when drawn using the specified com.aspose.psd.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.psd.Graphics that represents a graphics context.

Returns: boolean - true when any portion of the specified rectangle is contained within this com.aspose.psd.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.psd.Region object when drawn using the specified com.aspose.psd.Graphics object.

Parameters:

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

Returns: boolean - true when the specified point is contained within this com.aspose.psd.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.psd.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.psd.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.psd.Region when drawn using the specified com.aspose.psd.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.psd.Graphics that represents a graphics context.

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

makeEmpty()

public void makeEmpty()

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

makeInfinite()

public void makeInfinite()

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

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setOnChangeRegion_internalized(ChangeActionList value)

public final void setOnChangeRegion_internalized(ChangeActionList value)

Gets or sets the on change region.

Value: The on change region.

Parameters:

ParameterTypeDescription
valuecom.aspose.internal.ChangeActionList

toString()

public String toString()

Returns: java.lang.String

transform(Matrix matrix)

public void transform(Matrix matrix)

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

Parameters:

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

translate(float dx, float dy)

public void translate(float dx, float dy)

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

Parameters:

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

translate(int dx, int dy)

public void translate(int dx, int dy)

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

Parameters:

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

union(GraphicsPath path)

public void union(GraphicsPath path)

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

Parameters:

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

union(Rectangle rect)

public void union(Rectangle rect)

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

Parameters:

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

union(RectangleF rect)

public void union(RectangleF rect)

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

Parameters:

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

union(Region region)

public void union(Region region)

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

Parameters:

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

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int

xor(GraphicsPath path)

public void xor(GraphicsPath path)

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

Parameters:

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

xor(Rectangle rect)

public void xor(Rectangle rect)

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

Parameters:

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

xor(RectangleF rect)

public void xor(RectangleF rect)

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

Parameters:

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

xor(Region region)

public void xor(Region region)

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

Parameters:

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