forked from muxinc/mux-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_input_settings_overlay_settings.go
22 lines (20 loc) · 2.34 KB
/
model_input_settings_overlay_settings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Mux Go - Copyright 2019 Mux Inc.
// NOTE: This file is auto generated. Do not edit this file manually.
package muxgo
// An object that describes how the image file referenced in URL should be placed over the video (i.e. watermarking). Ensure that the URL is active and persists the entire lifespan of the video object.
type InputSettingsOverlaySettings struct {
// Where the vertical positioning of the overlay/watermark should begin from. Defaults to `\"top\"`
VerticalAlign string `json:"vertical_align,omitempty"`
// The distance from the vertical_align starting point and the image's closest edge. Can be expressed as a percent (\"10%\") or as a pixel value (\"100px\"). Negative values will move the overlay offscreen. In the case of 'middle', a positive value will shift the overlay towards the bottom and and a negative value will shift it towards the top.
VerticalMargin string `json:"vertical_margin,omitempty"`
// Where the horizontal positioning of the overlay/watermark should begin from.
HorizontalAlign string `json:"horizontal_align,omitempty"`
// The distance from the horizontal_align starting point and the image's closest edge. Can be expressed as a percent (\"10%\") or as a pixel value (\"100px\"). Negative values will move the overlay offscreen. In the case of 'center', a positive value will shift the image towards the right and and a negative value will shift it towards the left.
HorizontalMargin string `json:"horizontal_margin,omitempty"`
// How wide the overlay should appear. Can be expressed as a percent (\"10%\") or as a pixel value (\"100px\"). If both width and height are left blank the width will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If height is supplied with no width, the width will scale proportionally to the height.
Width string `json:"width,omitempty"`
// How tall the overlay should appear. Can be expressed as a percent (\"10%\") or as a pixel value (\"100px\"). If both width and height are left blank the height will be the true pixels of the image, applied as if the video has been scaled to fit a 1920x1080 frame. If width is supplied with no height, the height will scale proportionally to the width.
Height string `json:"height,omitempty"`
// How opaque the overlay should appear, expressed as a percent. (Default 100%)
Opacity string `json:"opacity,omitempty"`
}