public sealed class PreprocessingConfig.Types.Crop : IMessage<PreprocessingConfig.Types.Crop>, IEquatable<PreprocessingConfig.Types.Crop>, IDeepCloneable<PreprocessingConfig.Types.Crop>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class PreprocessingConfig.Types.Crop.
Video cropping configuration for the input video. The cropped input video is scaled to match the output resolution.
Implements
IMessagePreprocessingConfigTypesCrop, IEquatablePreprocessingConfigTypesCrop, IDeepCloneablePreprocessingConfigTypesCrop, IBufferMessage, IMessageNamespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Constructors
Crop()
public Crop()
Crop(Crop)
public Crop(PreprocessingConfig.Types.Crop other)
Parameter | |
---|---|
Name | Description |
other | PreprocessingConfigTypesCrop |
Properties
BottomPixels
public int BottomPixels { get; set; }
The number of pixels to crop from the bottom. The default is 0.
Property Value | |
---|---|
Type | Description |
int |
LeftPixels
public int LeftPixels { get; set; }
The number of pixels to crop from the left. The default is 0.
Property Value | |
---|---|
Type | Description |
int |
RightPixels
public int RightPixels { get; set; }
The number of pixels to crop from the right. The default is 0.
Property Value | |
---|---|
Type | Description |
int |
TopPixels
public int TopPixels { get; set; }
The number of pixels to crop from the top. The default is 0.
Property Value | |
---|---|
Type | Description |
int |