Syncfusion AI Assistant

How can I help you?

VisioDecoratorStyleModel

6 Feb 20261 minute to read

Represents styling properties for connector decorators (arrow heads).
Contains fill, stroke, gradient, and other decorator-specific styling.

Properties

fill string

Fill color of the decorator

gradient string

Gradient fill color (alternative to solid fill)

gradientAngle number

Angle of the gradient in degrees

gradientStops GradientStop[]

Array of gradient stop colors

gradientcoOrdinates GradientVector|RadialGradientConfig

Gradient coordinates/parameters

isgradientEnabled boolean

Flag indicating if gradient is enabled

opacity number

Opacity/transparency level (0-1)

strokeColor string

Stroke color of the decorator

strokeWidth number

Width of the stroke line

Methods

fromShapeJs

Creates a VisioDecoratorStyleModel instance from a Visio shape.
Extracts decorator styling including gradients if applicable.

Parameter Type Description
shape VisioShapeNode The Visio shape object containing decorator style data
context ParsingContext Parsing context for warnings

Returns VisioDecoratorStyleModel