PresetVideoWatermark class
Constructors
-
PresetVideoWatermark({Input<String?>? horizontalAlign, Input<String?>? horizontalOffset, Input<String?>? id, Input<String?>? maxHeight, Input<String?>? maxWidth, Input<String?>? opacity, Input<String?>? sizingPolicy, Input<String?>? target, Input<String?>? verticalAlign, Input<String?>? verticalOffset})
-
Creates a new PresetVideoWatermark.
horizontalAlign The horizontal position of the watermark unless you specify a nonzero value for horzontalOffset.
horizontalOffset The amount by which you want the horizontal position of the watermark to be offset from the position specified by horizontalAlign.
id A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. You can specify settings for up to four watermarks.
maxHeight The maximum height of the watermark.
maxWidth The maximum width of the watermark.
opacity A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.
sizingPolicy A value that controls scaling of the watermark. Valid values are: Fit, Stretch, ShrinkToFit
target A value that determines how Elastic Transcoder interprets values that you specified for video_watermarks.horizontal_offset, video_watermarks.vertical_offset, video_watermarks.max_width, and video_watermarks.max_height. Valid values are Content and Frame.
verticalAlign The vertical position of the watermark unless you specify a nonzero value for verticalAlign. Valid values are Top, Bottom, Center.
verticalOffset The amount by which you want the vertical position of the watermark to be offset from the position specified by verticalAlign
const
-
PresetVideoWatermark.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
horizontalAlign
→ Input<String?>?
-
The horizontal position of the watermark unless you specify a nonzero value for
horzontalOffset.
final
-
horizontalOffset
→ Input<String?>?
-
The amount by which you want the horizontal position of the watermark to be offset from the position specified by
horizontalAlign.
final
-
id
→ Input<String?>?
-
A unique identifier for the settings for one watermark. The value of Id can be up to 40 characters long. You can specify settings for up to four watermarks.
final
-
maxHeight
→ Input<String?>?
-
The maximum height of the watermark.
final
-
maxWidth
→ Input<String?>?
-
The maximum width of the watermark.
final
-
opacity
→ Input<String?>?
-
A percentage that indicates how much you want a watermark to obscure the video in the location where it appears.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sizingPolicy
→ Input<String?>?
-
A value that controls scaling of the watermark. Valid values are:
Fit, Stretch, ShrinkToFit
final
-
target
→ Input<String?>?
-
A value that determines how Elastic Transcoder interprets values that you specified for
video_watermarks.horizontal_offset, video_watermarks.vertical_offset, video_watermarks.max_width, and video_watermarks.max_height. Valid values are Content and Frame.
final
-
verticalAlign
→ Input<String?>?
-
The vertical position of the watermark unless you specify a nonzero value for
verticalAlign. Valid values are Top, Bottom, Center.
final
-
verticalOffset
→ Input<String?>?
-
The amount by which you want the vertical position of the watermark to be offset from the position specified by
verticalAlign
final