Method Contains
Contains(float, float)
Determines if the specified point is contained within this RectangleF structure.
public bool Contains(float x, float y)
Parameters
Returns
- bool
This method returns true if the point defined by
x
andy
is contained within this RectangleF structure; otherwise false.
Contains(PointF)
Determines if the specified point is contained within this RectangleF structure.
public bool Contains(PointF point)
Parameters
Returns
- bool
This method returns true if the point represented by the
point
parameter is contained within this RectangleF structure; otherwise false.
Contains(RectangleF)
Determines if the rectangular region represented by rect
is entirely contained within this RectangleF structure.
public bool Contains(RectangleF rect)
Parameters
rect
RectangleFThe RectangleF to test.
Returns
- bool
This method returns true if the rectangular region represented by
rect
is entirely contained within the rectangular region represented by this RectangleF; otherwise false.