Defines the fluent API for configuring the DiagramShapeDefaultsFillGradientSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsFillGradientSettingsBuilder(DiagramShapeDefaultsFillGradientSettings settings)
Methods
Defines 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.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Center(params double[] value)
The value that configures the center point.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Defines the end point of the linear gradient. The coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> End(params double[] value)
The value that configures the end point.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Defines the radius of the radial gradient relative to the shape bounding box.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Radius(double value)
The value that configures the radius.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Defines the start point of the linear gradient. The coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Start(params double[] value)
The value that configures the start point.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Defines the configuration of the gradient color stops.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Stops(Action<DiagramShapeDefaultsFillGradientSettingsStopFactory<TShapeModel, TConnectionModel>> configurator)
The action that configures the stops.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Defines the type of the gradient. The supported values are "linear" and "radial".
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Type(string value)
The value that configures the type.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>