DiagramShapeDefaultsFillGradientSettingsTagHelper

Example

Razor
<gradient>
    <stops></stops>
</gradient>

ChildTags

Attributes

AttributeTypeDescription
centerDouble[]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.
endDouble[]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.
radiusDoubleThe radius of the radial gradient relative to the shape bounding box.
startDouble[]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.
typeStringThe type of the gradient. The supported values are: linear or radial.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support