Region Class
Describes the interior of a graphics shape composed of rectangles and paths. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  Aspose.PSDRegion

Namespace: Aspose.PSD
Assembly: Aspose.PSD (in Aspose.PSD.dll) Version: 23.4
Syntax
[SerializableAttribute]
public sealed class Region

The Region type exposes the following members.

Constructors
  NameDescription
Public methodRegion
Initializes a new Region.
Public methodRegion(GraphicsPath)
Initializes a new Region with the specified GraphicsPath.
Public methodRegion(Rectangle)
Initializes a new Region from the specified Rectangle structure.
Public methodRegion(RectangleF)
Initializes a new Region from the specified RectangleF structure.
Methods
  NameDescription
Public methodComplement(GraphicsPath)
Updates this Region to contain the portion of the specified GraphicsPath that does not intersect with this Region.
Public methodComplement(Rectangle)
Updates this Region to contain the portion of the specified Rectangle structure that does not intersect with this Region.
Public methodComplement(RectangleF)
Updates this Region to contain the portion of the specified RectangleF structure that does not intersect with this Region.
Public methodComplement(Region)
Updates this Region to contain the portion of the specified Region that does not intersect with this Region.
Public methodDeepClone
Creates an exact deep copy of this Region.
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(Region, Graphics)
Tests whether the specified Region is identical to this Region on the specified drawing surface.
Public methodExclude(GraphicsPath)
Updates this Region to contain only the portion of its interior that does not intersect with the specified GraphicsPath.
Public methodExclude(Rectangle)
Updates this Region to contain only the portion of its interior that does not intersect with the specified Rectangle structure.
Public methodExclude(RectangleF)
Updates this Region to contain only the portion of its interior that does not intersect with the specified RectangleF structure.
Public methodExclude(Region)
Updates this Region to contain only the portion of its interior that does not intersect with the specified Region.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIntersect(GraphicsPath)
Updates this Region to the intersection of itself with the specified GraphicsPath.
Public methodIntersect(Rectangle)
Updates this Region to the intersection of itself with the specified Rectangle structure.
Public methodIntersect(RectangleF)
Updates this Region to the intersection of itself with the specified RectangleF structure.
Public methodIntersect(Region)
Updates this Region to the intersection of itself with the specified Region.
Public methodIsEmpty
Tests whether this Region has an empty interior on the specified drawing surface.
Public methodIsInfinite
Tests whether this Region has an infinite interior on the specified drawing surface.
Public methodIsVisible(Point)
Tests whether the specified Point structure is contained within this Region.
Public methodIsVisible(PointF)
Tests whether the specified PointF structure is contained within this Region.
Public methodIsVisible(Rectangle)
Tests whether any portion of the specified Rectangle structure is contained within this Region.
Public methodIsVisible(RectangleF)
Tests whether any portion of the specified RectangleF structure is contained within this Region.
Public methodIsVisible(Single, Single)
Tests whether the specified point is contained within this Region.
Public methodIsVisible(Point, Graphics)
Tests whether the specified Point structure is contained within this Region when drawn using the specified Graphics.
Public methodIsVisible(PointF, Graphics)
Tests whether the specified PointF structure is contained within this Region when drawn using the specified Graphics.
Public methodIsVisible(Rectangle, Graphics)
Tests whether any portion of the specified Rectangle structure is contained within this Region when drawn using the specified Graphics.
Public methodIsVisible(RectangleF, Graphics)
Tests whether any portion of the specified RectangleF structure is contained within this Region when drawn using the specified Graphics.
Public methodIsVisible(Int32, Int32, Graphics)
Tests whether the specified point is contained within this Region object when drawn using the specified Graphics object.
Public methodIsVisible(Single, Single, Graphics)
Tests whether the specified point is contained within this Region when drawn using the specified Graphics.
Public methodIsVisible(Int32, Int32, Int32, Int32)
Tests whether any portion of the specified rectangle is contained within this Region.
Public methodIsVisible(Single, Single, Single, Single)
Tests whether any portion of the specified rectangle is contained within this Region.
Public methodIsVisible(Int32, Int32, Int32, Int32, Graphics)
Tests whether any portion of the specified rectangle is contained within this Region when drawn using the specified Graphics.
Public methodIsVisible(Single, Single, Single, Single, Graphics)
Tests whether any portion of the specified rectangle is contained within this Region when drawn using the specified Graphics.
Public methodMakeEmpty
Initializes this Region to an empty interior.
Public methodMakeInfinite
Initializes this Region object to an infinite interior.
Public methodToString (Inherited from Object.)
Public methodTransform
Transforms this Region by the specified Matrix.
Public methodTranslate(Int32, Int32)
Offsets the coordinates of this Region by the specified amount.
Public methodTranslate(Single, Single)
Offsets the coordinates of this Region by the specified amount.
Public methodUnion(GraphicsPath)
Updates this Region to the union of itself and the specified GraphicsPath.
Public methodUnion(Rectangle)
Updates this Region to the union of itself and the specified Rectangle structure.
Public methodUnion(RectangleF)
Updates this Region to the union of itself and the specified RectangleF structure.
Public methodUnion(Region)
Updates this Region to the union of itself and the specified Region.
Public methodXor(GraphicsPath)
Updates this Region to the union minus the intersection of itself with the specified GraphicsPath.
Public methodXor(Rectangle)
Updates this Region to the union minus the intersection of itself with the specified Rectangle structure.
Public methodXor(RectangleF)
Updates this Region to the union minus the intersection of itself with the specified RectangleF structure.
Public methodXor(Region)
Updates this Region to the union minus the intersection of itself with the specified Region.
See Also