Quadrangle.Contains

Contains(Point)

Determines if the specified Point is contained within this Quadrangle class.

public bool Contains(Point pt)
ParameterTypeDescription
ptPointThe Point to test.

Return Value

Returns true if Point is contained within this Quadrangle class; otherwise, false.

See Also


Contains(int, int)

Determines if the specified point is contained within this Quadrangle class.

public bool Contains(int x, int y)
ParameterTypeDescription
xInt32The x point cordinate.
yInt32The y point cordinate.

Return Value

Returns true if point is contained within this Quadrangle class; otherwise, false.

See Also


Contains(Quadrangle)

Determines if the specified Quadrangle is contained or intersect this Quadrangle class.

public bool Contains(Quadrangle quad)
ParameterTypeDescription
quadQuadrangleThe Quadrangle to test.

Return Value

Returns true if Quadrangle is contained or intersect this Quadrangle class; otherwise, false.

See Also


Contains(Rectangle)

Determines if the specified Rectangle is contained or intersect this Quadrangle class.

public bool Contains(Rectangle rect)
ParameterTypeDescription
rectRectangleThe Rectangle to test.

Return Value

Returns true if Rectangle is contained or intersect this Quadrangle class; otherwise, false.

See Also