Back to API Reference
Class
GradientModifier
sealed
Applies gradient coloring to text ranges using named gradients.
Remarks
Parameter format: name[,shape][,angle] rainbow — linear gradient, angle 0 rainbow,linear,45 — linear at 45° rainbow,radial — radial gradient from center rainbow,angular — angular (conic) sweep from top rainbow,angular,90 — angular sweep rotated 90° Shape controls the gradient form: linear (projection onto an axis), radial (distance from center), or angular (conic sweep). The set of named gradients available to <gradient=name> tags is supplied by an IGradientProvider. The default provider resolves names through the project-wide
Gradients asset; alternative providers allow per-component asset references or inline catalogs edited on the modifier itself.public IGradientProvider Provider{ get; set }Source of named gradients used by this modifier when resolving <gradient=name> tags. disables resolution and causes such tags to be skipped with a warning.
