Skip to content
PHP Ecosystem
Explore

SpreadMethod

API reference › HTML SVG › Values › SpreadMethod

enumUIAwesome\Html\Svg\Values\SpreadMethod
Backed bystring
Sourcesrc/Values/SpreadMethod.php

Represents literal string values for the SVG spreadMethod attribute.

Provides the keyword values used by the spreadMethod attribute.

See also: LinearGradient::spreadMethod().

CaseValueDescription
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.