Kendo UI DiagramShapeDefaultsFillGradientSettingsStop class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsFillGradientSettingsStop<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsFillGradientSettingsStop<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsFillGradientSettingsStop()
Properties
The color in any of the following formats:| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent', or '' (empty string) clears the fill.
public string Color { get; set; }
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).
public double? Offset { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()