Equals()

Region::Equals(const SharedPtr<Region>&, const SharedPtr<Graphics>&) 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)

Arguments

ParameterTypeDescription
rconst SharedPtr<Region>&The region to compare this region with
gconst SharedPtr<Graphics>&A drawing surface

Return Value

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