center

Gets or sets the center point of the gradient.

Parameters

center Array|kendo.geometry.PointThe center point of the gradient.

Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.

Returnskendo.geometry.Point The current radius of the gradient.

In this article
Not finding the help you need?