@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DvbSubDestinationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
DvbSubDestinationSettings() |
Modifier and Type | Method and Description |
---|---|
DvbSubDestinationSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAlignment()
If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
String |
getBackgroundColor()
Specifies the color of the rectangle behind the captions.
|
Integer |
getBackgroundOpacity()
Specifies the opacity of the background rectangle.
|
InputLocation |
getFont()
External font file used for caption burn-in.
|
String |
getFontColor()
Specifies the color of the burned-in captions.
|
Integer |
getFontOpacity()
Specifies the opacity of the burned-in captions.
|
Integer |
getFontResolution()
Font resolution in DPI (dots per inch); default is 96 dpi.
|
String |
getFontSize()
When set to auto fontSize will scale depending on the size of the output.
|
String |
getOutlineColor()
Specifies font outline color.
|
Integer |
getOutlineSize()
Specifies font outline size in pixels.
|
String |
getShadowColor()
Specifies the color of the shadow cast by the captions.
|
Integer |
getShadowOpacity()
Specifies the opacity of the shadow.
|
Integer |
getShadowXOffset()
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
Integer |
getShadowYOffset()
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
String |
getTeletextGridControl()
Controls whether a fixed grid size will be used to generate the output subtitles bitmap.
|
Integer |
getXPosition()
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
Integer |
getYPosition()
Specifies the vertical position of the caption relative to the top of the output in pixels.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlignment(String alignment)
If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
void |
setBackgroundColor(String backgroundColor)
Specifies the color of the rectangle behind the captions.
|
void |
setBackgroundOpacity(Integer backgroundOpacity)
Specifies the opacity of the background rectangle.
|
void |
setFont(InputLocation font)
External font file used for caption burn-in.
|
void |
setFontColor(String fontColor)
Specifies the color of the burned-in captions.
|
void |
setFontOpacity(Integer fontOpacity)
Specifies the opacity of the burned-in captions.
|
void |
setFontResolution(Integer fontResolution)
Font resolution in DPI (dots per inch); default is 96 dpi.
|
void |
setFontSize(String fontSize)
When set to auto fontSize will scale depending on the size of the output.
|
void |
setOutlineColor(String outlineColor)
Specifies font outline color.
|
void |
setOutlineSize(Integer outlineSize)
Specifies font outline size in pixels.
|
void |
setShadowColor(String shadowColor)
Specifies the color of the shadow cast by the captions.
|
void |
setShadowOpacity(Integer shadowOpacity)
Specifies the opacity of the shadow.
|
void |
setShadowXOffset(Integer shadowXOffset)
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
void |
setShadowYOffset(Integer shadowYOffset)
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
void |
setTeletextGridControl(String teletextGridControl)
Controls whether a fixed grid size will be used to generate the output subtitles bitmap.
|
void |
setXPosition(Integer xPosition)
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
void |
setYPosition(Integer yPosition)
Specifies the vertical position of the caption relative to the top of the output in pixels.
|
String |
toString()
Returns a string representation of this object.
|
DvbSubDestinationSettings |
withAlignment(DvbSubDestinationAlignment alignment)
If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
DvbSubDestinationSettings |
withAlignment(String alignment)
If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
DvbSubDestinationSettings |
withBackgroundColor(DvbSubDestinationBackgroundColor backgroundColor)
Specifies the color of the rectangle behind the captions.
|
DvbSubDestinationSettings |
withBackgroundColor(String backgroundColor)
Specifies the color of the rectangle behind the captions.
|
DvbSubDestinationSettings |
withBackgroundOpacity(Integer backgroundOpacity)
Specifies the opacity of the background rectangle.
|
DvbSubDestinationSettings |
withFont(InputLocation font)
External font file used for caption burn-in.
|
DvbSubDestinationSettings |
withFontColor(DvbSubDestinationFontColor fontColor)
Specifies the color of the burned-in captions.
|
DvbSubDestinationSettings |
withFontColor(String fontColor)
Specifies the color of the burned-in captions.
|
DvbSubDestinationSettings |
withFontOpacity(Integer fontOpacity)
Specifies the opacity of the burned-in captions.
|
DvbSubDestinationSettings |
withFontResolution(Integer fontResolution)
Font resolution in DPI (dots per inch); default is 96 dpi.
|
DvbSubDestinationSettings |
withFontSize(String fontSize)
When set to auto fontSize will scale depending on the size of the output.
|
DvbSubDestinationSettings |
withOutlineColor(DvbSubDestinationOutlineColor outlineColor)
Specifies font outline color.
|
DvbSubDestinationSettings |
withOutlineColor(String outlineColor)
Specifies font outline color.
|
DvbSubDestinationSettings |
withOutlineSize(Integer outlineSize)
Specifies font outline size in pixels.
|
DvbSubDestinationSettings |
withShadowColor(DvbSubDestinationShadowColor shadowColor)
Specifies the color of the shadow cast by the captions.
|
DvbSubDestinationSettings |
withShadowColor(String shadowColor)
Specifies the color of the shadow cast by the captions.
|
DvbSubDestinationSettings |
withShadowOpacity(Integer shadowOpacity)
Specifies the opacity of the shadow.
|
DvbSubDestinationSettings |
withShadowXOffset(Integer shadowXOffset)
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
DvbSubDestinationSettings |
withShadowYOffset(Integer shadowYOffset)
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
DvbSubDestinationSettings |
withTeletextGridControl(DvbSubDestinationTeletextGridControl teletextGridControl)
Controls whether a fixed grid size will be used to generate the output subtitles bitmap.
|
DvbSubDestinationSettings |
withTeletextGridControl(String teletextGridControl)
Controls whether a fixed grid size will be used to generate the output subtitles bitmap.
|
DvbSubDestinationSettings |
withXPosition(Integer xPosition)
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
DvbSubDestinationSettings |
withYPosition(Integer yPosition)
Specifies the vertical position of the caption relative to the top of the output in pixels.
|
public void setAlignment(String alignment)
alignment
- If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions
at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom
left of the output. If x and y positions are given in conjunction with the alignment parameter, the font
will be justified (either left or centered) relative to those coordinates. Selecting "smart" justification
will left-justify live subtitles and center-justify 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 caption
stream. All burn-in and DVB-Sub font settings must match.DvbSubDestinationAlignment
public String getAlignment()
DvbSubDestinationAlignment
public DvbSubDestinationSettings withAlignment(String alignment)
alignment
- If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions
at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom
left of the output. If x and y positions are given in conjunction with the alignment parameter, the font
will be justified (either left or centered) relative to those coordinates. Selecting "smart" justification
will left-justify live subtitles and center-justify 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 caption
stream. All burn-in and DVB-Sub font settings must match.DvbSubDestinationAlignment
public DvbSubDestinationSettings withAlignment(DvbSubDestinationAlignment alignment)
alignment
- If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions
at the bottom center of the output. Similarly, setting a left alignment will align captions to the bottom
left of the output. If x and y positions are given in conjunction with the alignment parameter, the font
will be justified (either left or centered) relative to those coordinates. Selecting "smart" justification
will left-justify live subtitles and center-justify 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 caption
stream. All burn-in and DVB-Sub font settings must match.DvbSubDestinationAlignment
public void setBackgroundColor(String backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.DvbSubDestinationBackgroundColor
public String getBackgroundColor()
DvbSubDestinationBackgroundColor
public DvbSubDestinationSettings withBackgroundColor(String backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.DvbSubDestinationBackgroundColor
public DvbSubDestinationSettings withBackgroundColor(DvbSubDestinationBackgroundColor backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.DvbSubDestinationBackgroundColor
public void setBackgroundOpacity(Integer backgroundOpacity)
backgroundOpacity
- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter
blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public Integer getBackgroundOpacity()
public DvbSubDestinationSettings withBackgroundOpacity(Integer backgroundOpacity)
backgroundOpacity
- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter
blank is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public void setFont(InputLocation font)
font
- External font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user 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 caption sources could cause unexpected display of
proportional fonts. All burn-in and DVB-Sub font settings must match.public InputLocation getFont()
public DvbSubDestinationSettings withFont(InputLocation font)
font
- External font file used for caption burn-in. File extension must be 'ttf' or 'tte'. Although the user 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 caption sources could cause unexpected display of
proportional fonts. All burn-in and DVB-Sub font settings must match.public void setFontColor(String fontColor)
fontColor
- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL,
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.DvbSubDestinationFontColor
public String getFontColor()
DvbSubDestinationFontColor
public DvbSubDestinationSettings withFontColor(String fontColor)
fontColor
- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL,
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.DvbSubDestinationFontColor
public DvbSubDestinationSettings withFontColor(DvbSubDestinationFontColor fontColor)
fontColor
- Specifies the color of the burned-in captions. This option is not valid for source captions that are STL,
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.DvbSubDestinationFontColor
public void setFontOpacity(Integer fontOpacity)
fontOpacity
- Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub
font settings must match.public Integer getFontOpacity()
public DvbSubDestinationSettings withFontOpacity(Integer fontOpacity)
fontOpacity
- Specifies the opacity of the burned-in captions. 255 is opaque; 0 is transparent. All burn-in and DVB-Sub
font settings must match.public void setFontResolution(Integer fontResolution)
fontResolution
- Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must
match.public Integer getFontResolution()
public DvbSubDestinationSettings withFontResolution(Integer fontResolution)
fontResolution
- Font resolution in DPI (dots per inch); default is 96 dpi. All burn-in and DVB-Sub font settings must
match.public void setFontSize(String fontSize)
fontSize
- When set to auto fontSize will scale depending on the size of the output. Giving a positive integer will
specify the exact font size in points. All burn-in and DVB-Sub font settings must match.public String getFontSize()
public DvbSubDestinationSettings withFontSize(String fontSize)
fontSize
- When set to auto fontSize will scale depending on the size of the output. Giving a positive integer will
specify the exact font size in points. All burn-in and DVB-Sub font settings must match.public void setOutlineColor(String outlineColor)
outlineColor
- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or
teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub
font settings must match.DvbSubDestinationOutlineColor
public String getOutlineColor()
DvbSubDestinationOutlineColor
public DvbSubDestinationSettings withOutlineColor(String outlineColor)
outlineColor
- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or
teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub
font settings must match.DvbSubDestinationOutlineColor
public DvbSubDestinationSettings withOutlineColor(DvbSubDestinationOutlineColor outlineColor)
outlineColor
- Specifies font outline color. This option is not valid for source captions that are either 608/embedded or
teletext. These source settings are already pre-defined by the caption stream. All burn-in and DVB-Sub
font settings must match.DvbSubDestinationOutlineColor
public void setOutlineSize(Integer outlineSize)
outlineSize
- Specifies font outline size in pixels. This option is not valid for source captions that are either
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.public Integer getOutlineSize()
public DvbSubDestinationSettings withOutlineSize(Integer outlineSize)
outlineSize
- Specifies font outline size in pixels. This option is not valid for source captions that are either
608/embedded or teletext. These source settings are already pre-defined by the caption stream. All burn-in
and DVB-Sub font settings must match.public void setShadowColor(String shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.DvbSubDestinationShadowColor
public String getShadowColor()
DvbSubDestinationShadowColor
public DvbSubDestinationSettings withShadowColor(String shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.DvbSubDestinationShadowColor
public DvbSubDestinationSettings withShadowColor(DvbSubDestinationShadowColor shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.DvbSubDestinationShadowColor
public void setShadowOpacity(Integer shadowOpacity)
shadowOpacity
- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is
equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public Integer getShadowOpacity()
public DvbSubDestinationSettings withShadowOpacity(Integer shadowOpacity)
shadowOpacity
- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter blank is
equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public void setShadowXOffset(Integer shadowXOffset)
shadowXOffset
- Specifies the horizontal offset of the shadow relative to the captions in pixels. 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.public Integer getShadowXOffset()
public DvbSubDestinationSettings withShadowXOffset(Integer shadowXOffset)
shadowXOffset
- Specifies the horizontal offset of the shadow relative to the captions in pixels. 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.public void setShadowYOffset(Integer shadowYOffset)
shadowYOffset
- Specifies the vertical offset of the shadow relative to the captions in pixels. 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.public Integer getShadowYOffset()
public DvbSubDestinationSettings withShadowYOffset(Integer shadowYOffset)
shadowYOffset
- Specifies the vertical offset of the shadow relative to the captions in pixels. 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.public void setTeletextGridControl(String teletextGridControl)
teletextGridControl
- Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable
for Teletext inputs and DVB-Sub/Burn-in outputs.DvbSubDestinationTeletextGridControl
public String getTeletextGridControl()
DvbSubDestinationTeletextGridControl
public DvbSubDestinationSettings withTeletextGridControl(String teletextGridControl)
teletextGridControl
- Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable
for Teletext inputs and DVB-Sub/Burn-in outputs.DvbSubDestinationTeletextGridControl
public DvbSubDestinationSettings withTeletextGridControl(DvbSubDestinationTeletextGridControl teletextGridControl)
teletextGridControl
- Controls whether a fixed grid size will be used to generate the output subtitles bitmap. Only applicable
for Teletext inputs and DVB-Sub/Burn-in outputs.DvbSubDestinationTeletextGridControl
public void setXPosition(Integer xPosition)
xPosition
- Specifies the horizontal position of the caption relative to the left side of the output in pixels. 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 caption position will be 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 caption stream. All burn-in and DVB-Sub font settings must match.public Integer getXPosition()
public DvbSubDestinationSettings withXPosition(Integer xPosition)
xPosition
- Specifies the horizontal position of the caption relative to the left side of the output in pixels. 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 caption position will be 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 caption stream. All burn-in and DVB-Sub font settings must match.public void setYPosition(Integer yPosition)
yPosition
- Specifies the vertical position of the caption relative to the top of the output in pixels. 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 caption will be 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 caption stream. All burn-in and DVB-Sub font settings must match.public Integer getYPosition()
public DvbSubDestinationSettings withYPosition(Integer yPosition)
yPosition
- Specifies the vertical position of the caption relative to the top of the output in pixels. 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 caption will be 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 caption stream. All burn-in and DVB-Sub font settings must match.public String toString()
toString
in class Object
Object.toString()
public DvbSubDestinationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.