Uses of Class
com.amazonaws.services.elastictranscoder.model.PresetWatermark

Packages that use PresetWatermark
  • Uses of PresetWatermark in com.amazonaws.services.elastictranscoder.model

    Modifier and Type
    Method
    Description
    PresetWatermark.clone()
     
    PresetWatermark.withHorizontalAlign(String horizontalAlign)
    The horizontal position of the watermark unless you specify a non-zero value for HorizontalOffset: 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 for HorizontalAlign and 5px for HorizontalOffset, the left side of the watermark appears 5 pixels from the left border of the output video.
    PresetWatermark.withId(String id)
    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 of MaxHeight. 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 of MaxWidth. 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 either MaxWidth or MaxHeight without exceeding the other value. Stretch: Elastic Transcoder stretches the watermark to match the values that you specified for MaxWidth and MaxHeight.
    PresetWatermark.withTarget(String target)
    A value that determines how Elastic Transcoder interprets values that you specified for HorizontalOffset, VerticalOffset, MaxWidth, and MaxHeight: Content: HorizontalOffset and VerticalOffset 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 for VerticalOffset: 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 PresetWatermark
    Modifier and Type
    Method
    Description
    VideoParameters.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.
    Modifier and Type
    Method
    Description
    VideoParameters.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 PresetWatermark
    Modifier and Type
    Method
    Description
    void
    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.