Version

Search Results

IsEmpty Property (Rectangle)

Gets a boolean value indicating whether this rectangle is empty. Syntax

IsPointInside Method

Gets a boolean value indicating whether the specified point is inside the rectangle. Syntax Parameters x X-coordinate of the point.y X-coordinate of the point. Return Value A boolean value indicating whether the specified point is inside the rectangle.

Location Property (Rectangle)

Gets or sets a Point object that represents the upper-left corner of the rectangle. Syntax

PointInside Method

Gets a boolean value indicating whether the specified point is inside the rectangle. Syntax Parameters point A point to test. Return Value A boolean value indicating whether the specified point is inside the rectangle.

Seal Method (Rectangle)

Makes the instance immutable. Any attempts to modify properties or members will result in an exception. Syntax

Size Property (Rectangle)

Gets or sets a Size object that represents the width and the height of the rectangle. Syntax

Union(Point) Method

Gets the union with the specified point. Syntax Parameters point A point to unite with. Return Value The union with the specified point.

Union(Rectangle) Method

Gets the union with the specified rectangle. Syntax Parameters rectangle A rectangle to unite with. Return Value The union with the specified rectangle.

Union(Single,Single) Method

Gets the union with the specified point. Syntax Parameters x X-coordinate of the point.y X-coordinate of the point. Return Value The union with the specified point.

Union(Single,Single,Single,Single) Method

Gets the union with the specified rectangle. Syntax Parameters x X-coordinate of the upper-left corner of the specified rectangle.y Y-coordinate of the upper-left corner of the specified rectangle.width Width of the specified rectangle.height Height of the specified rectangle. Return Value The union with the speci...