Defines the fluent API for configuring DiagramShapeFillGradientSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
DiagramShapeFillGradientSettingsBuilder method.
public DiagramShapeFillGradientSettingsBuilder(DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
The radius of the radial gradient relative to the shape bounding box.
public DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Radius(double value)
The value for Radius
Returns:DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance.
The array of gradient color stops.
public DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Stops(Action<DiagramShapeFillGradientSettingsStopFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeFillGradientSettingsStopFactory<TShapeModel, TConnectionModel> for the stops setting.
Returns:DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> .
The type of the gradient. The supported values are: linear or radial.
public DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Type(string value)
The value for Type
Returns:DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance.