Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class Crop.
Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.
Generated from protobuf message google.cloud.video.transcoder.v1.PreprocessingConfig.Crop
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ top_pixels
int
The number of pixels to crop from the top. The default is 0.
↳ bottom_pixels
int
The number of pixels to crop from the bottom. The default is 0.
↳ left_pixels
int
The number of pixels to crop from the left. The default is 0.
↳ right_pixels
int
The number of pixels to crop from the right. The default is 0.
getTopPixels
The number of pixels to crop from the top. The default is 0.
int
setTopPixels
The number of pixels to crop from the top. The default is 0.
var
int
$this
getBottomPixels
The number of pixels to crop from the bottom. The default is 0.
int
setBottomPixels
The number of pixels to crop from the bottom. The default is 0.
var
int
$this
getLeftPixels
The number of pixels to crop from the left. The default is 0.
int
setLeftPixels
The number of pixels to crop from the left. The default is 0.
var
int
$this
getRightPixels
The number of pixels to crop from the right. The default is 0.
int
setRightPixels
The number of pixels to crop from the right. The default is 0.
var
int
$this