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:

ValueDirection
0Bottom to top
90Left to right
180 (default)Top to bottom
270Right to left

For the full list of text overlay parameters, see the Text Overlays overview.