Class CfnChannel.CaptionRectangleProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnChannel.CaptionRectangleProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnChannel.CaptionRectangleProperty
CfnChannel.CaptionRectangleProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.medialive.CfnChannel.CaptionRectangleProperty
CfnChannel.CaptionRectangleProperty.Builder, CfnChannel.CaptionRectangleProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnChannel.CaptionRectangleProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final Number
See the description in leftOffset.final Number
Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output.final Number
See the description in leftOffset.final Number
getWidth()
See the description in leftOffset.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnChannel.CaptionRectangleProperty.Builder
.
-
-
Method Details
-
getHeight
Description copied from interface:CfnChannel.CaptionRectangleProperty
See the description in leftOffset.For height, specify the entire height of the rectangle as a percentage of the underlying frame height. For example, "80" means the rectangle height is 80% of the underlying frame height. The topOffset and rectangleHeight must add up to 100% or less. This field corresponds to tts:extent - Y in the TTML standard.
- Specified by:
getHeight
in interfaceCfnChannel.CaptionRectangleProperty
- See Also:
-
getLeftOffset
Description copied from interface:CfnChannel.CaptionRectangleProperty
Applies only if you plan to convert these source captions to EBU-TT-D or TTML in an output.(Make sure to leave the default if you don't have either of these formats in the output.) You can define a display rectangle for the captions that is smaller than the underlying video frame. You define the rectangle by specifying the position of the left edge, top edge, bottom edge, and right edge of the rectangle, all within the underlying video frame. The units for the measurements are percentages. If you specify a value for one of these fields, you must specify a value for all of them.
For leftOffset, specify the position of the left edge of the rectangle, as a percentage of the underlying frame width, and relative to the left edge of the frame. For example, "10" means the measurement is 10% of the underlying frame width. The rectangle left edge starts at that position from the left edge of the frame. This field corresponds to tts:origin - X in the TTML standard.
- Specified by:
getLeftOffset
in interfaceCfnChannel.CaptionRectangleProperty
- See Also:
-
getTopOffset
Description copied from interface:CfnChannel.CaptionRectangleProperty
See the description in leftOffset.For topOffset, specify the position of the top edge of the rectangle, as a percentage of the underlying frame height, and relative to the top edge of the frame. For example, "10" means the measurement is 10% of the underlying frame height. The rectangle top edge starts at that position from the top edge of the frame. This field corresponds to tts:origin - Y in the TTML standard.
- Specified by:
getTopOffset
in interfaceCfnChannel.CaptionRectangleProperty
- See Also:
-
getWidth
Description copied from interface:CfnChannel.CaptionRectangleProperty
See the description in leftOffset.For width, specify the entire width of the rectangle as a percentage of the underlying frame width. For example, "80" means the rectangle width is 80% of the underlying frame width. The leftOffset and rectangleWidth must add up to 100% or less. This field corresponds to tts:extent - X in the TTML standard.
- Specified by:
getWidth
in interfaceCfnChannel.CaptionRectangleProperty
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-