<kendo:diagram-shapeDefaults-fill-gradient>

Defines the gradient fill of the shape.

Example

<kendo:diagram-shapeDefaults-fill>
    <kendo:diagram-shapeDefaults-fill-gradient></kendo:diagram-shapeDefaults-fill-gradient>
</kendo:diagram-shapeDefaults-fill>

Configuration Attributes

center java.lang.Object

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.

Example

<kendo:diagram-shapeDefaults-fill-gradient center="center">
</kendo:diagram-shapeDefaults-fill-gradient>

end java.lang.Object

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.

Example

<kendo:diagram-shapeDefaults-fill-gradient end="end">
</kendo:diagram-shapeDefaults-fill-gradient>

radius float

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

Example

<kendo:diagram-shapeDefaults-fill-gradient radius="radius">
</kendo:diagram-shapeDefaults-fill-gradient>

start java.lang.Object

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.

Example

<kendo:diagram-shapeDefaults-fill-gradient start="start">
</kendo:diagram-shapeDefaults-fill-gradient>

type java.lang.String

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

Example

<kendo:diagram-shapeDefaults-fill-gradient type="type">
</kendo:diagram-shapeDefaults-fill-gradient>

Configuration JSP Tags

kendo:diagram-shapeDefaults-fill-gradient-stops

The array of gradient color stops.

More documentation is available at kendo:diagram-shapeDefaults-fill-gradient-stops.

Example

<kendo:diagram-shapeDefaults-fill-gradient>
    <kendo:diagram-shapeDefaults-fill-gradient-stops></kendo:diagram-shapeDefaults-fill-gradient-stops>
</kendo:diagram-shapeDefaults-fill-gradient>
In this article
Not finding the help you need?