Short Frame Check

Can widening a rotated caption change its bottom clearance?

Yes, when the width changes along the caption local horizontal axis before rotation. A wider rotated rectangle can reach farther down even with the same height and center. Our controlled example crosses the chosen bottom guide after widening; check the complete exported bounds.

Change local width while holding the other inputs fixed

We constructed two synthetic caption rectangles inside a 360 by 640 frame. Both have height 40, center (180,350) and rotation 30 degrees. The first has local width 160 and the second width 240. The chosen bottom guide is at y equals 416. Width means the rectangle width before rotation, not its horizontal extent after rotation. These are chosen geometric inputs rather than measurements of a real caption or phone interface.

Why width contributes to vertical reach

For a local rectangle of width W and height H rotated around its center through angle A, its vertical bounding extent is the absolute value of W times sine A plus the absolute value of H times cosine A. The lowest corner is at center y plus half that extent. Local horizontal distances acquire a vertical component when the rectangle rotates.

At 30 degrees, sine is 0.5 and cosine is approximately 0.8660254. For width 160 and height 40, the vertical extent is approximately 114.641016. Half is 57.320508. Adding center y at 350 puts the lowest point at approximately 407.320508, leaving approximately 8.679492 pixels above the chosen bottom guide.

Widening the local rectangle to 240 changes its vertical extent to approximately 154.641016. The lowest point becomes approximately 427.320508. It now crosses the same boundary by approximately 11.320508 pixels, even though the local height, angle and center have not changed.

Calculate the change directly

The extra width is 80. The increase in the vertical extent is 80 times 0.5, or 40. Half of that change extends downward and half upward around the fixed center, so the lowest point moves down by 20 pixels. Subtracting our two corner calculations gives the same result.

Our script independently rotates all four local corners for each rectangle and takes the extreme x and y coordinates. It checks the vertical extents against the projection formula and asserts that the bottom difference is 20. The widened rectangle has horizontal bounds near 66.076952 and 293.923048. Those remain between the chosen side boundaries at 16 and 296; this example crosses the bottom without crossing either side.

Find the width limit for this construction

There are 66 pixels between the chosen center and bottom guide. Doubling that distance allows a vertical extent of 132. At this angle and height, subtracting 40 times cosine 30 degrees and dividing by sine 30 degrees gives a maximum local width of approximately 194.717968. Width 160 falls below that bottom-only limit, while width 240 exceeds it. This threshold belongs to the stated example and is not a caption recommendation.

Compare an unrotated rectangle

At zero rotation, sine is zero. Both chosen widths then have a vertical extent of 40 and a bottom at 370. Widening alone makes no vertical change in that axis-aligned case. The 30-degree orientation is what couples width to the vertical bound here.

This calculation assumes width changes along the rectangle's local horizontal axis before rotation. Stretching a finished rotated image along the frame's horizontal axis is a different operation and does not follow this example. An editor can also reflow text or compensate its position. Inspect the complete exported caption and its effects after changing size; this checker does not reproduce arbitrary text transforms from your editor.

Two locally widened rectangles with equal height, rotation and center
Chosen local widths and rotated corner bounds; not editor or phone measurements.

Questions and answers

Does unchanged caption height mean unchanged bottom clearance?

No. Local width can contribute to vertical reach after rotation.

Does every horizontal stretch behave this way?

No. This construction widens the rectangle before rotating it. Frame-axis stretching is a different operation.

Is the calculated width a recommended caption size?

No. It is a bottom-boundary limit for the chosen synthetic example.

Inspect your exported frame · Review rotation bounds

Visual walkthrough

Text-led walkthrough without audio.