fromPoints

Creates a Rect instance that contains the points given as arguments.

Parameters

pointA kendo.geometry.Point

The first point.

pointB kendo.geometry.Point

The second point.

Multiple arguments are accepted.

Returns

kendo.geometry.Rect The new Rect instance.

In this article