Imgix APIsRendering APIBlendingBlend Anchor

Blend Anchor

blend-anchor

The blend-anchor parameter chooses which point of the blend layer an explicit blend-x and blend-y land on. The default is the layer’s top-left corner.

It works exactly as mark-anchor does: the value is either an alignment keyword — center, bottom,right, top — or a pair of fx,fy fractions, where 0,0 is the layer’s top-left and 1,1 its bottom-right.

The default: the layer's top-left sits at 60%, 40%
sandbox-demo
blend-anchor=center centers it on that point
sandbox-demo

blend-anchor is only read when blend-x or blend-y is set.

Writing the coordinates as decimals makes them relative lengths, so the layout holds at every output width.