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

Defines the fluent API for configuring DiagramShapeFillGradientSettingsStop

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramShapeFillGradientSettingsStopBuilder method.

C#
public DiagramShapeFillGradientSettingsStopBuilder(DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeFillGradientSettingsStop<TShapeModel, TConnectionModel>

Container member.

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

Methods

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) will clear the fill.

C#
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Color(string value)
Parameters:valuestring

The value for Color

Returns:

DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.

The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient).

C#
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Offset(double value)
Parameters:valuedouble

The value for Offset

Returns:

DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.

The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque).

C#
public DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> Opacity(double value)
Parameters:valuedouble

The value for Opacity

Returns:

DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeFillGradientSettingsStopBuilder<TShapeModel, TConnectionModel> instance.