Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
CaptionRectangle Struct
A display rectangle, expressed as percentages of the underlying video frame, for captions converted to EBU-TT-D or TTML.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const captionRectangle: medialive_alpha.CaptionRectangle = {
height: 123,
leftOffset: 123,
topOffset: 123,
width: 123,
};
Properties
Height of the rectangle, as a percentage of the frame height (0–100).
Left edge position, as a percentage of the frame width (0–100).
Top edge position, as a percentage of the frame height (0–100).
Width of the rectangle, as a percentage of the frame width (0–100).