diff options
author | Paul Melis <paulmelis> | 2020-11-06 17:42:52 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2020-11-06 18:05:50 +0300 |
commit | 235c309e5f86e84fb08e1ff2c5c11eb0b775c388 (patch) | |
tree | 364a1ae8aa7f3feedaea7243985845f915c7a842 /source/blender/editors | |
parent | f6524aaa8093bfc88c658107b8077cd09ac3e989 (diff) |
Add background rectangle option to video sequencer Text strip
This adds a Box option to the Text strip's style properties, plus related Box Margin value:
{F9208309}
When enabled the text is placed on top of a solid-filled rectangle of a chosen color, as shown below:
{F9208324}
When the box option is disabled the text strip works the same as it does now. When the box option is enabled the meaning of the Shadow option changes to provide a drop-shadow on the rectangle (and not on the text itself). The latter made more sense to me.
The box margin is specified as a fraction of the image width. The offset of the drop-down box shadow is fixed to a specific fraction of the image width as well.
I tested this feature on a movie of a couple of minutes containing dozens of text strips (all with box background), edge cases like multi-line strings and text overlapping the image edges.
Reviewed By: ISS
Differential Revision: https://developer.blender.org/D9468
Diffstat (limited to 'source/blender/editors')
0 files changed, 0 insertions, 0 deletions