Поделиться через


PngLayer Class

Definition

Describes the settings to produce a PNG image from the input video.

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

Constructors

PngLayer()

Initializes a new instance of PngLayer.

Properties

Height

The height of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in height as the input.

(Inherited from MediaLayerBase)
Label

The alphanumeric label for this layer, which can be used in multiplexing different video and audio layers, or in naming the output file.

(Inherited from MediaLayerBase)
Width

The width of the output video for this layer. The value can be absolute (in pixels) or relative (in percentage). For example 50% means the output video has half as many pixels in width as the input.

(Inherited from MediaLayerBase)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MediaLayerBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from MediaLayerBase)
IJsonModel<MediaLayerBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MediaLayerBase)
IJsonModel<PngLayer>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PngLayer>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MediaLayerBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MediaLayerBase)
IPersistableModel<MediaLayerBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from MediaLayerBase)
IPersistableModel<MediaLayerBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MediaLayerBase)
IPersistableModel<PngLayer>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PngLayer>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PngLayer>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to