Edit this page

Telerik.Web.UI.Diagram.Gradient

Defines the gradient fill of the shape.

Inheritance Hierarchy

  • System.Object
  • Telerik.Web.StateManager : IMarkableStateManager, IStateManager
  • Telerik.Web.UI.Diagram.Gradient : IDefaultCheck

Properties

Center Object[]

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

End Object[]

The end point of the linear gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.

Radius Double

The radius of the radial gradient relative to the shape bounding box.

Start Object[]

The start point of the linear gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.

StopsCollection DiagramGradientStopsCollection

The array of gradient color stops.

Type GradientType

Define the type of the gradient.