Text Gradient Angle
txt-gradient-angle
Sets the direction of the gradient fill applied to a text overlay on video.
txt-gradient-angle accepts a degree value from 0 to 360 and defaults to 180. It steers the gradient defined by txt-gradient, and has no effect unless txt-gradient supplies at least two stops. Use txt-gradient-angle[N] for a specific text layer.
Angles are measured as CSS linear-gradient measures them — clockwise, starting from the bottom. The first stop sits at the side the gradient flows from:
| Value | Direction |
|---|---|
0 | Bottom to top |
90 | Left to right |
180 (default) | Top to bottom |
270 | Right to left |
For the full list of text overlay parameters, see the Text Overlays overview.