public sealed class 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
IMessage<PreprocessingConfig.Types.Crop>, IEquatable<PreprocessingConfig.Types.Crop>, IDeepCloneable<PreprocessingConfig.Types.Crop>, IBufferMessage, IMessageNamespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Constructors
Crop()
public Crop()
Crop(PreprocessingConfig.Types.Crop)
public Crop(PreprocessingConfig.Types.Crop other)
Parameter | |
---|---|
Name | Description |
other | PreprocessingConfig.Types.Crop |
Properties
BottomPixels
public int BottomPixels { get; set; }
The number of pixels to crop from the bottom. The default is 0.
Property Value | |
---|---|
Type | Description |
Int32 |
LeftPixels
public int LeftPixels { get; set; }
The number of pixels to crop from the left. The default is 0.
Property Value | |
---|---|
Type | Description |
Int32 |
RightPixels
public int RightPixels { get; set; }
The number of pixels to crop from the right. The default is 0.
Property Value | |
---|---|
Type | Description |
Int32 |
TopPixels
public int TopPixels { get; set; }
The number of pixels to crop from the top. The default is 0.
Property Value | |
---|---|
Type | Description |
Int32 |