Watermark Gradient Angle
mark-gradient-angle
The mark-gradient-angle parameter sets the direction a linear mark-gradient runs. It defaults to 180, top to bottom.
Angles follow the CSS convention, naming the direction the gradient runs toward: 0 points up, and angles turn clockwise. Any number wraps, so -90 is the same as 270.
| Angle | Direction |
|---|---|
0 | To the top |
90 | To the right |
180 (default) | To the bottom |
270 | To the left |
A side or corner keyword is also accepted in place of degrees — top, right, bottom, left, or a pair such as bottom,left — naming the direction the gradient runs toward. A pair must be one vertical side and one horizontal: top,bottom and left,right are rejected, as is any list of three or more. A corner’s angle follows the layer’s aspect ratio rather than being a flat 45 degrees, since the gradient line runs perpendicular to the diagonal.
The angle is measured against the watermark’s own box, not the picture’s.
180 — top to bottom