你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VideoCrop Class

Definition

Defines a video crop rectangle.

public class VideoCrop : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.VideoCrop>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.VideoCrop>
type VideoCrop = class
    interface IJsonModel<VideoCrop>
    interface IPersistableModel<VideoCrop>
Public Class VideoCrop
Implements IJsonModel(Of VideoCrop), IPersistableModel(Of VideoCrop)
Inheritance
VideoCrop
Implements

Constructors

VideoCrop(IEnumerable<Int32>, IEnumerable<Int32>)

Initializes a new instance of VideoCrop.

VideoCrop(Point, Point)

Initializes a new instance of VideoCrop.

Properties

BottomRight

Bottom-right corner of the crop region.

TopLeft

Top-left corner of the crop region.

Methods

JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VideoCrop>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VideoCrop>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VideoCrop>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VideoCrop>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VideoCrop>.Write(ModelReaderWriterOptions)

Applies to