@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BurnInDestinationSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
BurnInDestinationSettings() |
Modifier and Type | Method and Description |
---|---|
BurnInDestinationSettings |
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.
|
BurnInDestinationSettings |
withAlignment(BurnInAlignment alignment)
If no explicit xPosition or yPosition is provided, setting alignment to centered will place the captions at the
bottom center of the output.
|
BurnInDestinationSettings |
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.
|
BurnInDestinationSettings |
withBackgroundColor(BurnInBackgroundColor backgroundColor)
Specifies the color of the rectangle behind the captions.
|
BurnInDestinationSettings |
withBackgroundColor(String backgroundColor)
Specifies the color of the rectangle behind the captions.
|
BurnInDestinationSettings |
withBackgroundOpacity(Integer backgroundOpacity)
Specifies the opacity of the background rectangle.
|
BurnInDestinationSettings |
withFont(InputLocation font)
External font file used for caption burn-in.
|
BurnInDestinationSettings |
withFontColor(BurnInFontColor fontColor)
Specifies the color of the burned-in captions.
|
BurnInDestinationSettings |
withFontColor(String fontColor)
Specifies the color of the burned-in captions.
|
BurnInDestinationSettings |
withFontOpacity(Integer fontOpacity)
Specifies the opacity of the burned-in captions.
|
BurnInDestinationSettings |
withFontResolution(Integer fontResolution)
Font resolution in DPI (dots per inch); default is 96 dpi.
|
BurnInDestinationSettings |
withFontSize(String fontSize)
When set to 'auto' fontSize will scale depending on the size of the output.
|
BurnInDestinationSettings |
withOutlineColor(BurnInOutlineColor outlineColor)
Specifies font outline color.
|
BurnInDestinationSettings |
withOutlineColor(String outlineColor)
Specifies font outline color.
|
BurnInDestinationSettings |
withOutlineSize(Integer outlineSize)
Specifies font outline size in pixels.
|
BurnInDestinationSettings |
withShadowColor(BurnInShadowColor shadowColor)
Specifies the color of the shadow cast by the captions.
|
BurnInDestinationSettings |
withShadowColor(String shadowColor)
Specifies the color of the shadow cast by the captions.
|
BurnInDestinationSettings |
withShadowOpacity(Integer shadowOpacity)
Specifies the opacity of the shadow.
|
BurnInDestinationSettings |
withShadowXOffset(Integer shadowXOffset)
Specifies the horizontal offset of the shadow relative to the captions in pixels.
|
BurnInDestinationSettings |
withShadowYOffset(Integer shadowYOffset)
Specifies the vertical offset of the shadow relative to the captions in pixels.
|
BurnInDestinationSettings |
withTeletextGridControl(BurnInTeletextGridControl teletextGridControl)
Controls whether a fixed grid size will be used to generate the output subtitles bitmap.
|
BurnInDestinationSettings |
withTeletextGridControl(String teletextGridControl)
Controls whether a fixed grid size will be used to generate the output subtitles bitmap.
|
BurnInDestinationSettings |
withXPosition(Integer xPosition)
Specifies the horizontal position of the caption relative to the left side of the output in pixels.
|
BurnInDestinationSettings |
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. All burn-in and DVB-Sub font
settings must match.BurnInAlignment
public String getAlignment()
BurnInAlignment
public BurnInDestinationSettings 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. All burn-in and DVB-Sub font
settings must match.BurnInAlignment
public BurnInDestinationSettings withAlignment(BurnInAlignment 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. All burn-in and DVB-Sub font
settings must match.BurnInAlignment
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.BurnInBackgroundColor
public String getBackgroundColor()
BurnInBackgroundColor
public BurnInDestinationSettings withBackgroundColor(String backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.BurnInBackgroundColor
public BurnInDestinationSettings withBackgroundColor(BurnInBackgroundColor backgroundColor)
backgroundColor
- Specifies the color of the rectangle behind the captions. All burn-in and DVB-Sub font settings must
match.BurnInBackgroundColor
public void setBackgroundOpacity(Integer backgroundOpacity)
backgroundOpacity
- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter
out is equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public Integer getBackgroundOpacity()
public BurnInDestinationSettings withBackgroundOpacity(Integer backgroundOpacity)
backgroundOpacity
- Specifies the opacity of the background rectangle. 255 is opaque; 0 is transparent. Leaving this parameter
out 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 BurnInDestinationSettings 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.BurnInFontColor
public String getFontColor()
BurnInFontColor
public BurnInDestinationSettings 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.BurnInFontColor
public BurnInDestinationSettings withFontColor(BurnInFontColor 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.BurnInFontColor
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 BurnInDestinationSettings 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 BurnInDestinationSettings 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 BurnInDestinationSettings 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.BurnInOutlineColor
public String getOutlineColor()
BurnInOutlineColor
public BurnInDestinationSettings 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.BurnInOutlineColor
public BurnInDestinationSettings withOutlineColor(BurnInOutlineColor 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.BurnInOutlineColor
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 BurnInDestinationSettings 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.BurnInShadowColor
public String getShadowColor()
BurnInShadowColor
public BurnInDestinationSettings withShadowColor(String shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.BurnInShadowColor
public BurnInDestinationSettings withShadowColor(BurnInShadowColor shadowColor)
shadowColor
- Specifies the color of the shadow cast by the captions. All burn-in and DVB-Sub font settings must match.BurnInShadowColor
public void setShadowOpacity(Integer shadowOpacity)
shadowOpacity
- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out is
equivalent to setting it to 0 (transparent). All burn-in and DVB-Sub font settings must match.public Integer getShadowOpacity()
public BurnInDestinationSettings withShadowOpacity(Integer shadowOpacity)
shadowOpacity
- Specifies the opacity of the shadow. 255 is opaque; 0 is transparent. Leaving this parameter out 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 BurnInDestinationSettings 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 BurnInDestinationSettings 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.BurnInTeletextGridControl
public String getTeletextGridControl()
BurnInTeletextGridControl
public BurnInDestinationSettings 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.BurnInTeletextGridControl
public BurnInDestinationSettings withTeletextGridControl(BurnInTeletextGridControl 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.BurnInTeletextGridControl
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. All
burn-in and DVB-Sub font settings must match.public Integer getXPosition()
public BurnInDestinationSettings 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. 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. All burn-in and DVB-Sub font
settings must match.public Integer getYPosition()
public BurnInDestinationSettings 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. All burn-in and DVB-Sub font
settings must match.public String toString()
toString
in class Object
Object.toString()
public BurnInDestinationSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.