Imgix APIsRendering APIWatermarkWatermark Reflection Offset

Watermark Reflection Offset

mark-reflection-offset

The mark-reflection-offset parameter sets the gap between the watermark and the top of its reflection. It defaults to 0, where the two touch — or to twice a float shadow’s gap when one is set.

A whole number is pixels, multiplied by dpr. A decimal between -1.0 and 1.0 is a fraction of the watermark’s height. A negative value overlaps the reflection with the watermark, and the watermark covers it.

With mark-drop-shadow-type=float the two agree about how high the watermark floats, without being tuned against each other. The relationship runs both ways: with no offset of its own, the reflection sits twice the float shadow’s gap below the watermark, and a float shadow with no mark-drop-shadow-y takes half a positive mark-reflection-offset.

The default, 0 — the two touch
https://assets.imgix.net/examples/clouds.jpg?w=600&h=400&fit=crop&blur=2000&sat=-100&bri=-35&mark=https%3A%2F%2Fassets.imgix.net%2Fexamples%2Fbluehat.jpg&mark-w=200&mark-align=top,center&mark-y=10&mark-reflection=90
Default