System::Drawing::Region class
Contents
[
Hide
]Region class
Represents the interior of a graphic shape. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class Region : public System::Object
Methods
Method | Description |
---|---|
Clone() const | Returns a copy of the current object. |
Complement(const RectangleF&) | Replaces the region represented by the current object with the portion of the region defined by the specified recangle that does not intersect with this region. |
Complement(const Rectangle&) | Replaces the region represented by the current object with the portion of the region defined by the specified recangle that does not intersect with this region. |
Complement(const SharedPtr<Drawing2D::GraphicsPath>&) | Replaces the region represented by the current object with the portion of the region defined by the specified path that does not intersect with this region. |
Complement(const SharedPtr<Region>&) | Replaces the region represented by the current object with the portion of the specified region that does not intersect with this region. |
Dispose() | Releases all operating system resources acquired by the current object. |
Equals(const SharedPtr<Region>&, const SharedPtr<Graphics>&) | Determines whether the specified region is identical to the region represented by the current object on the specified drawing surface. |
Exclude(const RectangleF&) | Replaces the region represented by the current object with the result of exclusion of the region defined by the specified rectange from it. |
Exclude(const Rectangle&) | Replaces the region represented by the current object with the result of exclusion of the region defined by the specified rectange from it. |
Exclude(const SharedPtr<Drawing2D::GraphicsPath>&) | Replaces the region represented by the current object with the result of exclusion of the region defined by the specified path from it. |
Exclude(const SharedPtr<Region>&) | Replaces the region represented by the current object with the result of exclusion of the specified region from it. |
GetBounds(const SharedPtr<Graphics>&) const | Gets a RectangleF structure that represents a rectangle that bounds this Region on the drawing surface of a Graphics object. |
GetRegionData() const | Returns a RegionData object containing data that defines the region represented by the current object. |
GetRegionScans(const SharedPtr<Drawing2D::Matrix>&) const | Returns an array of RectangleF structures that approximate this Region after the specified matrix transformation is applied. |
Intersect(const RectangleF&) | Replaces the region represented by the current object with the result of intersection of this region and a region defined by the specified rectangle. |
Intersect(const Rectangle&) | Replaces the region represented by the current object with the result of intersection of this region and a region defined by the specified rectangle. |
Intersect(const SharedPtr<Drawing2D::GraphicsPath>&) | Replaces the region represented by the current object with the result of intersection of this region and a region defined by the specified path. |
Intersect(const SharedPtr<Region>&) | Replaces the region represented by the current object with the result of intersection of this region and the specified region. |
IsEmpty(const SharedPtr<Graphics>&) const | Determines wheter the region represented by the current object has empty interior on the specified drawing surface. |
IsInfinite(const SharedPtr<Graphics>&) const | Determines wheter the region represented by the current object has infinite interior on the specified drawing surface. |
IsVisible(const Point&) const | Determines if the specified point is contained within the region represented by the current object. |
IsVisible(const PointF&) const | Determines if the specified point is contained within the region represented by the current object. |
IsVisible(const Rectangle&) | Determines if any portion the specified rectangle is contained within the region represented by the current object. |
IsVisible(const RectangleF&) | Determines if any portion the specified rectangle is contained within the region represented by the current object. |
IsVisible(const Point&, const SharedPtr<Graphics>&) const | Determines if the specified point is contained within the region represented by the current object using the specified graphics. |
IsVisible(const PointF&, const SharedPtr<Graphics>&) const | Determines if the specified point is contained within the region represented by the current object using the specified graphics. |
IsVisible(const Rectangle&, const SharedPtr<Graphics>&) | Determines if any portion the specified rectangle is contained within the region represented by the current object using the specified graphics. |
IsVisible(const RectangleF&, const SharedPtr<Graphics>&) | Determines if any portion the specified rectangle is contained within the region represented by the current object using the specified graphics. |
IsVisible(float, float) const | Determines if the specified point is contained within the region represented by the current object. |
IsVisible(float, float, const SharedPtr<Graphics>&) const | Determines if the specified point is contained within the region represented by the current object using the specified graphics. |
MakeEmpty() | Initializes the current object to empty interior. |
MakeInfinite() | Initializes this region object to an infinite interior. |
Region() | Constructs a new instance of Region class. |
Region(const RectangleF&) | Constructs a new instance of Region class that represents a region defined by the specified rectangle. |
Region(const Rectangle&) | Constructs a new instance of Region class that represents a region defined by the specified rectangle. |
Region(const SharedPtr<Drawing2D::GraphicsPath>&) | Constructs a new instance of Region class that represents a region defined by the specified path. |
Region(const SkPath&) | |
Region(const SharedPtr<Drawing2D::RegionData>&) | Constructs a new instance of Region class that represents a region defined by the specified RegionData object. |
Transform(const SharedPtr<Drawing2D::Matrix>&) | Transforms this region by the specified matrix. |
Transform(const SkMatrix&) | Transforms this region by the specified matrix. |
Translate(int, int) | Moves the coordinates of the region by the specified amount. |
Translate(float, float) | Moves the coordinates of the region by the specified amount. |
Union(const RectangleF&) | Replaces the region represented by the current object with the result of union operation of this region and a region defined by the specified rectangle. |
Union(const Rectangle&) | Replaces the region represented by the current object with the result of union of this region and a region defined by the specified rectangle. |
Union(const SharedPtr<Drawing2D::GraphicsPath>&) | Replaces the region represented by the current object with the result of union of this region and a region defined by the specified path. |
Union(const SharedPtr<Region>&) | Replaces the region represented by the current object with the result of union of this region and and the specified region. |
Xor(const RectangleF&) | Replaces the region represented by the current object with the portions of this region and the region defined by the specified recangle that do not intersect. |
Xor(const Rectangle&) | Replaces the region represented by the current object with the portions of this region and the region defined by the specified recangle that do not intersect. |
Xor(const SharedPtr<Drawing2D::GraphicsPath>&) | Replaces the region represented by the current object with the portions of this region and the region defined by the specified path that do not intersect. |
Xor(const SharedPtr<Region>&) | Replaces the region represented by the current object with the portions of this region and the specified region that do not intersect. |
virtual ~Region() | Destructor. |
See Also
- Class Object
- Namespace System::Drawing
- Library Aspose.Font for C++