create

Creates a Point instance from various parameters.

Parameters

x Number|Array|kendo.geometry.Point

Any of the following values:

  • The x coordinate of the point.
  • An array of x and y coordinates.
  • An existing Point instance.
y Number

The y coordinate of the point. Required only if the first argument is a number.

Returns

kendo.geometry.Point The new or supplied Point instance.

In this article