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

DiagramShapeDefaultsFillGradientSettingsBuilder

Methods

Center(System.Double[])

The center of the radial gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.

Parameters

value - System.Double[]

The value that configures the center.

Start(System.Double[])

The start point of the linear gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.

Parameters

value - System.Double[]

The value that configures the start.

End(System.Double[])

The end point of the linear gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right.

Parameters

value - System.Double[]

The value that configures the end.

Type(System.String)

The type of the gradient. The supported values are: linear or radial.

Parameters

value - System.String

The value for Type

Radius(System.Double)

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

Parameters

value - System.Double

The value for Radius

Stops(System.Action)

The array of gradient color stops.

Parameters

configurator - System.Action<DiagramShapeDefaultsFillGradientSettingsStopFactory>

The configurator for the stops setting.

In this article
Not finding the help you need?