RectangleFIntersect Method (RectangleF, RectangleF) |
Intersect the two specified rectangles
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static RectangleF Intersect(
RectangleF rect1,
RectangleF rect2
)
Public Shared Function Intersect (
rect1 As RectangleF,
rect2 As RectangleF
) As RectangleF
static member Intersect :
rect1 : RectangleF *
rect2 : RectangleF -> RectangleF
Parameters
- rect1
- Type: Eto.DrawingRectangleF
First rectangle to intersect - rect2
- Type: Eto.DrawingRectangleF
Second rectangle to intersect
Return Value
Type:
RectangleFA new RectangleF with the intersection of the two rectangles
See Also