Live Stream v1 API - Class PreprocessingConfig.Types.Crop (1.0.0)

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.

Inheritance

Object > PreprocessingConfig.Types.Crop

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

Crop()

public Crop()

Crop(PreprocessingConfig.Types.Crop)

public Crop(PreprocessingConfig.Types.Crop other)
Parameter
NameDescription
otherPreprocessingConfig.Types.Crop

Properties

BottomPixels

public int BottomPixels { get; set; }

The number of pixels to crop from the bottom. The default is 0.

Property Value
TypeDescription
Int32

LeftPixels

public int LeftPixels { get; set; }

The number of pixels to crop from the left. The default is 0.

Property Value
TypeDescription
Int32

RightPixels

public int RightPixels { get; set; }

The number of pixels to crop from the right. The default is 0.

Property Value
TypeDescription
Int32

TopPixels

public int TopPixels { get; set; }

The number of pixels to crop from the top. The default is 0.

Property Value
TypeDescription
Int32