CaptionRectangle
- class aws_cdk.aws_medialive_alpha.CaptionRectangle(*, height, left_offset, top_offset, width)
Bases:
object(experimental) A display rectangle, expressed as percentages of the underlying video frame, for captions converted to EBU-TT-D or TTML.
- Parameters:
height (
Union[int,float]) – (experimental) Height of the rectangle, as a percentage of the frame height (0–100).left_offset (
Union[int,float]) – (experimental) Left edge position, as a percentage of the frame width (0–100).top_offset (
Union[int,float]) – (experimental) Top edge position, as a percentage of the frame height (0–100).width (
Union[int,float]) – (experimental) Width of the rectangle, as a percentage of the frame width (0–100).
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_medialive_alpha as medialive_alpha caption_rectangle = medialive_alpha.CaptionRectangle( height=123, left_offset=123, top_offset=123, width=123 )
Attributes
- height
(experimental) Height of the rectangle, as a percentage of the frame height (0–100).
- Stability:
experimental
- left_offset
(experimental) Left edge position, as a percentage of the frame width (0–100).
- Stability:
experimental
- top_offset
(experimental) Top edge position, as a percentage of the frame height (0–100).
- Stability:
experimental
- width
(experimental) Width of the rectangle, as a percentage of the frame width (0–100).
- Stability:
experimental