A gradient fill value. Accepted by color properties (backgroundColor, fillColor, strokes, textColor) as an alternative to a solid color string or token reference.
type GradientValue =LinearGradient|RadialGradient|AngularGradient;
DIAMOND gradients are intentionally excluded — they have no native CSS, SwiftUI, or Compose equivalent.
Properties
All three gradient types share the same base properties, with LinearGradient using angle and the others using center.