Contains

Quadrangle.Contains method (1 of 4)

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

public bool Contains(Point pt)
Parameter Type Description
pt Point The Point to test.

Return Value

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

See Also


Quadrangle.Contains method (2 of 4)

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

public bool Contains(int x, int y)
Parameter Type Description
x Int32 The x point cordinate.
y Int32 The y point cordinate.

Return Value

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

See Also


Quadrangle.Contains method (3 of 4)

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

public bool Contains(Quadrangle quad)
Parameter Type Description
quad Quadrangle The Quadrangle to test.

Return Value

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

See Also


Quadrangle.Contains method (4 of 4)

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

public bool Contains(Rectangle rect)
Parameter Type Description
rect Rectangle The Rectangle to test.

Return Value

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

See Also