# SpreadMethod

> Represents literal string values for the SVG spreadMethod attribute.

[API reference](/docs/api/index.md) › [HTML SVG](/docs/extensions/html-svg/reference/index.md) › [Values](/docs/extensions/html-svg/reference/values/index.md) › SpreadMethod

| enum | `UIAwesome\Html\Svg\Values\SpreadMethod` |
| --- | --- |
| Backed by | `string` |
| Source | [`src/Values/SpreadMethod.php`](https://github.com/ui-awesome/html-svg/blob/main/src/Values/SpreadMethod.php#L14) |

Represents literal string values for the SVG `spreadMethod` attribute.

Provides the keyword values used by the `spreadMethod` attribute.

See also: [`LinearGradient::spreadMethod()`](/docs/extensions/html-svg/reference/lineargradient/index.md#method-spreadMethod).

## Cases

| Case | Value | Description |
| --- | --- | --- |
| <span id="case-PAD"></span>`PAD` | `'pad'` | `pad` - The final color of the gradient fills the shape beyond the gradient edges. |
| <span id="case-REFLECT"></span>`REFLECT` | `'reflect'` | `reflect` - The gradient repeats in reverse beyond its edges. |
| <span id="case-REPEAT"></span>`REPEAT` | `'repeat'` | `repeat` - The gradient repeats in the original order beyond its edges. |