Gradient
Defines the gradient fill of the shape.
Definition
Namespace:Telerik.Web.UI.Diagram
Assembly:Telerik.Web.UI.dll
Syntax:
public class Gradient : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck
Inheritance: objectStateManagerGradient
Implements:
Inherited Members
Constructors
public Gradient()
Properties
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.
[TypeConverter(typeof(DoubleArrayConverter))]
public object[] Center { get; set; }
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.
[TypeConverter(typeof(DoubleArrayConverter))]
public object[] End { get; set; }
Specifies whether the implementing object has default values.
public bool IsDefault { get; }
Implements:
The radius of the radial gradient relative to the shape bounding box.
public double Radius { get; set; }
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.
[TypeConverter(typeof(DoubleArrayConverter))]
public object[] Start { get; set; }
The array of gradient color stops.
[PersistenceMode(PersistenceMode.InnerProperty)]
public DiagramGradientStopsCollection StopsCollection { get; }
Define the type of the gradient.
public GradientType Type { get; set; }
Methods
protected override void TrackViewState()
Overrides: