Imgix APIsRendering APIWatermarkWatermark Gradient Type

Watermark Gradient Type

mark-gradient-type

The mark-gradient-type parameter chooses whether mark-gradient is drawn as a straight band or radiating from a point. It takes linear or radial and defaults to linear.

A linear gradient is the one you want for a scrim along an edge of the watermark. A radial gradient is the one you want for a vignette, darkening its corners while leaving the middle clear.

The default, linear — a straight band
sandbox-demo
mark-gradient-type=radial — radiating from a point, the shape of a vignette
sandbox-demo