create

Creates a Size instance from various parameters.

Parameters

width Number|Array|kendo.geometry.Size

Any of the following values:

  • The width value.
  • An array of width and height values.
  • An existing Size instance.
height Number

The height value. Required only if the first argument is a number.

Returns

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

In this article