Table of Contents

Method Contains

Namespace
DotNetBrowser.Geometry
Assembly
DotNetBrowser.dll

Contains(Point)

Checks whether the rectangle contains the specified point.

public bool Contains(Point point)

Parameters

point Point

the Point instance to check.

Returns

bool

true if the rectangle contains this point; false otherwise.

Contains(Rectangle)

Checks whether the rectangle contains the specified rectangle.

public bool Contains(Rectangle other)

Parameters

other Rectangle

the Rectangle instance to check.

Returns

bool

true if the rectangle contains the other rectangle; false otherwise.