System::Drawing::Region::Equals method

Region::Equals method

Determines whether the specified region is identical to the region represented by the current object on the specified drawing surface.

bool System::Drawing::Region::Equals(const SharedPtr<Region> &r, const SharedPtr<Graphics> &g)
ParameterTypeDescription
rconst SharedPtr<Region>&The region to compare this region with
gconst SharedPtr<Graphics>&A drawing surface

ReturnValue

True if the interior of the specified region is identical to the interior of the region represented by the current objcet when the transformation associated with the g parameter is applied; otherwise - false

See Also