RadialGradientElementSpreadMethodAttribute: spreadMethod

Description Available Attribute Values Used by the Elements

Description

Governs the behaviour that should occur if the gradient starts or ends inside the bounds of the target rectangle.

Available Attribute Values

The value can be any one of the following:

'pad'

Specifies to extend the painting beyond the outermost-circle of the radialGradient, by using terminal color of the outermost circle. (Default)

'reflect'

Specifes to extend the painting beyond the outermost-circle of the radialGradient, by reflecting the gradient pattern. The reflections are continued until the entire gradient region is filled. For example, we might have a pattern of red white blue (red at the focus, blue at the outermost-circle) and then observe: red white blue blue white red red white blue.

'repeat'

Specifes to extend the painting beyond the outermost-circle of the radialGradient, by repeating the gradient pattern. The repetitions are continued until the entire gradient region is filled. For example, we might have a pattern of red white blue (red at the focus, blue at the outermost-circle) and then observe: red white blue red white blue red white blue.

Used by the Elements

Gradient Elements

radialGradient


mslegrand/svgR documentation built on Jan. 21, 2020, 2:59 p.m.