New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class DiagramShapeDefaultsFillGradientSettings : JsonObject

Inheritance: objectJsonObjectDiagramShapeDefaultsFillGradientSettings

Inherited Members JsonObject.ToJson()object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramShapeDefaultsFillGradientSettings()

Properties

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

C#
public double[] 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.

C#
public double[] End { get; set; }

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

C#
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.

C#
public double[] Start { get; set; }

The array of gradient color stops.

C#
public List<DiagramShapeDefaultsFillGradientSettingsStop> Stops { get; set; }

The type of the gradient. The supported values are: linear or radial.

C#
public string Type { get; set; }

Methods

C#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)