| RectangleFIntersect Method |
Creates a rectangle that contains the overlap between the given rectangles.
Namespace: DigitalRune.Game.UIAssembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax public static RectangleF Intersect(
RectangleF rectangle1,
RectangleF rectangle2
)
Public Shared Function Intersect (
rectangle1 As RectangleF,
rectangle2 As RectangleF
) As RectangleF
public:
static RectangleF Intersect(
RectangleF rectangle1,
RectangleF rectangle2
)
static member Intersect :
rectangle1 : RectangleF *
rectangle2 : RectangleF -> RectangleF
Parameters
- rectangle1
- Type: DigitalRune.Game.UIRectangleF
The first rectangle. - rectangle2
- Type: DigitalRune.Game.UIRectangleF
The second rectangle.
Return Value
Type:
RectangleF
The overlap between
rectangle1 and
rectangle2.
See Also