imgix APIs
Rendering API
Fill Gradient Linear Direction

Fill Gradient Linear Direction

fill-gradient-linear-direction

Sets the linear gradient color direction when fill-gradient-type=linear is used in conjunction with fit=fill&fill=gradient.

Accepted values are top, bottom, right and left. Defaults to bottom when not specified.

Two values can be used by separating them with a comma (fill-gradient-linear-direction=top,right).