Share via


VoiceLiveModelFactory.VideoCrop Method

Definition

Defines a video crop rectangle using top-left and bottom-right coordinates.

public static Azure.AI.VoiceLive.VideoCrop VideoCrop(System.Collections.Generic.IEnumerable<int> topLeftInternal = default, System.Collections.Generic.IEnumerable<int> bottomRightInternal = default);
static member VideoCrop : seq<int> * seq<int> -> Azure.AI.VoiceLive.VideoCrop
Public Shared Function VideoCrop (Optional topLeftInternal As IEnumerable(Of Integer) = Nothing, Optional bottomRightInternal As IEnumerable(Of Integer) = Nothing) As VideoCrop

Parameters

topLeftInternal
IEnumerable<Int32>

Top-left corner of the crop region. Array of [x, y], must be non-negative integers.

bottomRightInternal
IEnumerable<Int32>

Bottom-right corner of the crop region. Array of [x, y], must be non-negative integers.

Returns

A new VideoCrop instance for mocking.

Applies to