Sdílet prostřednictvím


RectangularWindow Class

Definition

Describes the properties of a rectangular window applied to the input media before processing it.

public class RectangularWindow : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.RectangularWindow>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.RectangularWindow>
public class RectangularWindow
type RectangularWindow = class
    interface IJsonModel<RectangularWindow>
    interface IPersistableModel<RectangularWindow>
type RectangularWindow = class
Public Class RectangularWindow
Implements IJsonModel(Of RectangularWindow), IPersistableModel(Of RectangularWindow)
Public Class RectangularWindow
Inheritance
RectangularWindow
Implements

Constructors

RectangularWindow()

Initializes a new instance of RectangularWindow.

Properties

Height

The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

Left

The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

Top

The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

Width

The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RectangularWindow>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RectangularWindow>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RectangularWindow>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RectangularWindow>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RectangularWindow>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to