Defines the fluent API for configuring DiagramShapeDefaultsFillGradientSettings
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
DiagramShapeDefaultsFillGradientSettingsBuilder method.
public DiagramShapeDefaultsFillGradientSettingsBuilder(DiagramShapeDefaultsFillGradientSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeDefaultsFillGradientSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeDefaultsFillGradientSettings<TShapeModel, TConnectionModel> Container { get; }
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.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
A reference to DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance after the operation has completed.
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>
A reference to DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance after the operation has completed.
The radius of the radial gradient relative to the shape bounding box.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Radius(double value)
The value for Radius
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance.
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>
A reference to DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance after the operation has completed.
The array of gradient color stops.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Stops(Action<DiagramShapeDefaultsFillGradientSettingsStopFactory<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeDefaultsFillGradientSettingsStopFactory<TShapeModel, TConnectionModel> for the stops setting.
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> .
The type of the gradient. The supported values are: linear or radial.
public DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Type(string value)
The value for Type
Returns:DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeDefaultsFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance.