Uses of Class
com.amazonaws.services.elastictranscoder.model.PresetWatermark
Packages that use PresetWatermark
-
Uses of PresetWatermark in com.amazonaws.services.elastictranscoder.model
Methods in com.amazonaws.services.elastictranscoder.model that return PresetWatermarkModifier and TypeMethodDescriptionPresetWatermark.clone()
PresetWatermark.withHorizontalAlign
(String horizontalAlign) The horizontal position of the watermark unless you specify a non-zero value forHorizontalOffset
: Left: The left edge of the watermark is aligned with the left border of the video. Right: The right edge of the watermark is aligned with the right border of the video. Center: The watermark is centered between the left and right borders.PresetWatermark.withHorizontalOffset
(String horizontalOffset) The amount by which you want the horizontal position of the watermark to be offset from the position specified by HorizontalAlign: number of pixels (px): The minimum value is 0 pixels, and the maximum value is the value of MaxWidth. integer percentage (%): The range of valid values is 0 to 100. For example, if you specify Left forHorizontalAlign
and 5px forHorizontalOffset
, the left side of the watermark appears 5 pixels from the left border of the output video.A unique identifier for the settings for one watermark.PresetWatermark.withMaxHeight
(String maxHeight) The maximum height of the watermark in one of the following formats: number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value ofMaxHeight
. integer percentage (%): The range of valid values is 0 to 100.PresetWatermark.withMaxWidth
(String maxWidth) The maximum width of the watermark in one of the following formats: number of pixels (px): The minimum value is 16 pixels, and the maximum value is the value ofMaxWidth
. integer percentage (%): The range of valid values is 0 to 100.PresetWatermark.withOpacity
(String opacity) A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.PresetWatermark.withSizingPolicy
(String sizingPolicy) A value that controls scaling of the watermark: Fit: Elastic Transcoder scales the watermark so it matches the value that you specified in eitherMaxWidth
orMaxHeight
without exceeding the other value. Stretch: Elastic Transcoder stretches the watermark to match the values that you specified forMaxWidth
andMaxHeight
.PresetWatermark.withTarget
(String target) A value that determines how Elastic Transcoder interprets values that you specified forHorizontalOffset
,VerticalOffset
,MaxWidth
, andMaxHeight
: Content:HorizontalOffset
andVerticalOffset
values are calculated based on the borders of the video excluding black bars added by Elastic Transcoder, if any.PresetWatermark.withVerticalAlign
(String verticalAlign) The vertical position of the watermark unless you specify a non-zero value forVerticalOffset
: Top: The top edge of the watermark is aligned with the top border of the video. Bottom: The bottom edge of the watermark is aligned with the bottom border of the video. Center: The watermark is centered between the top and bottom borders.PresetWatermark.withVerticalOffset
(String verticalOffset) VerticalOffset
Methods in com.amazonaws.services.elastictranscoder.model that return types with arguments of type PresetWatermarkModifier and TypeMethodDescriptionVideoParameters.getWatermarks()
Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset.Methods in com.amazonaws.services.elastictranscoder.model with parameters of type PresetWatermarkModifier and TypeMethodDescriptionVideoParameters.withWatermarks
(PresetWatermark... watermarks) Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset.Method parameters in com.amazonaws.services.elastictranscoder.model with type arguments of type PresetWatermarkModifier and TypeMethodDescriptionvoid
VideoParameters.setWatermarks
(Collection<PresetWatermark> watermarks) Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset.VideoParameters.withWatermarks
(Collection<PresetWatermark> watermarks) Settings for the size, location, and opacity of graphics that you want Elastic Transcoder to overlay over videos that are transcoded using this preset.