GradientClass
Definition
- Namespace
- DOM.Elements.Graphics.Colors
- Assembly
- DOM.dll
Represents a gradient fill in the Vega DOM, allowing for color transitions and shading effects.
Remarks
A is composed of one or more instances plus either a linear shade () or a path-based shade (). The two shade types are mutually exclusive; consumers should choose one. Gradient GradientStop LinearShade PathShade Gradients are typically attached to a or a . Fill.GradientFill TextEffect.GradientFill
Examples
Properties
Gets or sets the ordered list of color stops that define the gradient.
Stops should be ordered by increasing ; the gradient interpolates between them. StopPosition
Gets or sets the linear shade configuration for the gradient fill.
Gets or sets the path shade configuration for the gradient fill.
Gets or sets a value indicating whether the gradient should rotate with the shape it is applied to.