Imgix APIsVideo APIBlendingBlend Layer Gradient Radial Y

Blend Layer Gradient Radial Y

blend-gradient-radial-y

Sets the vertical center of a radial blend-gradient, measured from the top edge of the layer. Without it, the gradient is centered.

A value may be given in pixels, or as a fraction from -1.0 to 1.0 of the layer’s height. Lengths follow the Imgix literal rule, so 0.25 is a quarter of the way down and 1 is one pixel. The center may sit outside the layer.

Lengths are measured on the layer, not the picture. It requires blend-gradient-type=radial.

Use blend-gradient-radial-y[N] to target a specific blend layer, where N is 0–3. Layer 0 is either the bare blend-gradient-radial-y or blend-gradient-radial-y[0]; if both are supplied, the bare name wins. A layer never borrows another layer’s spelling.