SpreadMethod
API reference › HTML SVG › Values › SpreadMethod
Represents literal string values for the SVG spreadMethod attribute.
Provides the keyword values used by the spreadMethod attribute.
See also: LinearGradient::spreadMethod().
| Case | Value | Description |
|---|---|---|
PAD | 'pad' | pad - The final color of the gradient fills the shape beyond the gradient edges. |
REFLECT | 'reflect' | reflect - The gradient repeats in reverse beyond its edges. |
REPEAT | 'repeat' | repeat - The gradient repeats in the original order beyond its edges. |