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

Defines the fluent API for configuring DiagramShapeFillGradientSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramShapeFillGradientSettingsBuilder method.

C#
public DiagramShapeFillGradientSettingsBuilder(DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeFillGradientSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel>

Container member.

C#
protected DiagramShapeFillGradientSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

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

C#
public DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Radius(double value)
Parameters:valuedouble

The value for Radius

Returns:

DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance.

The array of gradient color stops.

C#
public DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Stops(Action<DiagramShapeFillGradientSettingsStopFactory<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramShapeFillGradientSettingsStopFactory<TShapeModel, TConnectionModel>>

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.

C#
public DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> Type(string value)
Parameters:valuestring

The value for Type

Returns:

DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeFillGradientSettingsBuilder<TShapeModel, TConnectionModel> instance.