System::Drawing::Rectangle::Intersect method
Contents
[
Hide
]Rectangle::Intersect(const Rectangle&) method
Replaces the rectangle represented by the current object with the rectangle that results from the its intersection with the rectangle represented by the specified object.
void System::Drawing::Rectangle::Intersect(const Rectangle &rect)
Parameter | Type | Description |
---|---|---|
rect | const Rectangle& | The Rectangle object that represents the rectangle to intersect the rectangle represented by the current object with |
See Also
- Class Rectangle
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.PDF for C++
Rectangle::Intersect(const Rectangle&, const Rectangle&) method
Returns a rectangle that is a result of intersection of the specified rectangles.
static Rectangle System::Drawing::Rectangle::Intersect(const Rectangle &a, const Rectangle &b)
Parameter | Type | Description |
---|---|---|
a | const Rectangle& | The first rectangle to intersect |
b | const Rectangle& | The second rectangle to intersect |
ReturnValue
The result of intersection of a with b
See Also
- Class Rectangle
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.PDF for C++