public static final class CfnChannel.DvbSubDestinationSettingsProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnChannel.DvbSubDestinationSettingsProperty
CfnChannel.DvbSubDestinationSettingsProperty
CfnChannel.DvbSubDestinationSettingsProperty.Builder, CfnChannel.DvbSubDestinationSettingsProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlignment()
If no explicit xPosition or yPosition is provided, setting the alignment to centered places the captions at the bottom center of the output.
|
java.lang.String |
getBackgroundColor()
Specifies the color of the rectangle behind the captions.
|
java.lang.Number |
getBackgroundOpacity()
Specifies the opacity of the background rectangle.
|
java.lang.Object |
getFont()
The external font file that is used for captions burn-in.
|
java.lang.String |
getFontColor()
Specifies the color of the burned-in captions.
|
java.lang.Number |
getFontOpacity()
Specifies the opacity of the burned-in captions.
|
java.lang.Number |
getFontResolution()
The font resolution in DPI (dots per inch).
|
java.lang.String |
getFontSize()
When set to auto, fontSize scales depending on the size of the output.
|
java.lang.String |
getOutlineColor()
Specifies the font outline color.
|
java.lang.Number |
getOutlineSize()
Specifies the font outline size in pixels.
|
java.lang.String |
getShadowColor()
Specifies the color of the shadow that is cast by the captions.
|
java.lang.Number |
getShadowOpacity()
Specifies the opacity of the shadow.
|
java.lang.Number |
getShadowXOffset()
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
java.lang.Number |
getShadowYOffset()
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
java.lang.String |
getTeletextGridControl()
Controls whether a fixed grid size is used to generate the output subtitles bitmap.
|
java.lang.Number |
getXPosition()
Specifies the horizontal position of the captions relative to the left side of the output in pixels.
|
java.lang.Number |
getYPosition()
Specifies the vertical position of the captions relative to the top of the output in pixels.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getAlignment()
CfnChannel.DvbSubDestinationSettingsProperty
Similarly, setting a left alignment aligns captions to the bottom left of the output. If x and y positions are specified in conjunction with the alignment parameter, the font is justified (either left or centered) relative to those coordinates. Selecting "smart" justification left-justifies live subtitles and center-justifies pre-recorded subtitles. This option is not valid for source captions that are STL or 608/embedded. These source settings are already pre-defined by the captions stream. All burn-in and DVB-Sub font settings must match.
getAlignment
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.String getBackgroundColor()
CfnChannel.DvbSubDestinationSettingsProperty
All burn-in and DVB-Sub font settings must match.
getBackgroundColor
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getBackgroundOpacity()
CfnChannel.DvbSubDestinationSettingsProperty
255 is opaque; 0 is transparent. Keeping this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
getBackgroundOpacity
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Object getFont()
CfnChannel.DvbSubDestinationSettingsProperty
The file extension must be .ttf or .tte. Although you can select output fonts for many different types of input captions, embedded, STL, and Teletext sources use a strict grid system. Using external fonts with these captions sources could cause an unexpected display of proportional fonts. All burn-in and DVB-Sub font settings must match.
getFont
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.String getFontColor()
CfnChannel.DvbSubDestinationSettingsProperty
This option is not valid for source captions that are STL, 608/embedded, or Teletext. These source settings are already pre-defined by the captions stream. All burn-in and DVB-Sub font settings must match.
getFontColor
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getFontOpacity()
CfnChannel.DvbSubDestinationSettingsProperty
255 is opaque; 0 is transparent. All burn-in and DVB-Sub font settings must match.
getFontOpacity
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getFontResolution()
CfnChannel.DvbSubDestinationSettingsProperty
The default is 96 dpi. All burn-in and DVB-Sub font settings must match.
getFontResolution
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.String getFontSize()
CfnChannel.DvbSubDestinationSettingsProperty
Providing a positive integer specifies the exact font size in points. All burn-in and DVB-Sub font settings must match.
getFontSize
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.String getOutlineColor()
CfnChannel.DvbSubDestinationSettingsProperty
This option is not valid for source captions that are either 608/embedded or Teletext. These source settings are already pre-defined by the captions stream. All burn-in and DVB-Sub font settings must match.
getOutlineColor
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getOutlineSize()
CfnChannel.DvbSubDestinationSettingsProperty
This option is not valid for source captions that are either 608/embedded or Teletext. These source settings are already pre-defined by the captions stream. All burn-in and DVB-Sub font settings must match.
getOutlineSize
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.String getShadowColor()
CfnChannel.DvbSubDestinationSettingsProperty
All burn-in and DVB-Sub font settings must match.
getShadowColor
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getShadowOpacity()
CfnChannel.DvbSubDestinationSettingsProperty
255 is opaque; 0 is transparent. Keeping this parameter blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.
getShadowOpacity
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getShadowXOffset()
CfnChannel.DvbSubDestinationSettingsProperty
A value of -2 would result in a shadow offset 2 pixels to the left. All burn-in and DVB-Sub font settings must match.
getShadowXOffset
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getShadowYOffset()
CfnChannel.DvbSubDestinationSettingsProperty
A value of -2 would result in a shadow offset 2 pixels above the text. All burn-in and DVB-Sub font settings must match.
getShadowYOffset
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.String getTeletextGridControl()
CfnChannel.DvbSubDestinationSettingsProperty
This applies to only Teletext inputs and DVB-Sub/Burn-in outputs.
getTeletextGridControl
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getXPosition()
CfnChannel.DvbSubDestinationSettingsProperty
A value of 10 would result in the captions starting 10 pixels from the left of the output. If no explicit xPosition is provided, the horizontal captions position is determined by the alignment parameter. This option is not valid for source captions that are STL, 608/embedded, or Teletext. These source settings are already pre-defined by the captions stream. All burn-in and DVB-Sub font settings must match.
getXPosition
in interface CfnChannel.DvbSubDestinationSettingsProperty
public final java.lang.Number getYPosition()
CfnChannel.DvbSubDestinationSettingsProperty
A value of 10 would result in the captions starting 10 pixels from the top of the output. If no explicit yPosition is provided, the captions are positioned towards the bottom of the output. This option is not valid for source captions that are STL, 608/embedded, or Teletext. These source settings are already pre-defined by the captions stream. All burn-in and DVB-Sub font settings must match.
getYPosition
in interface CfnChannel.DvbSubDestinationSettingsProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()