Delen via


FaceRectangle Class

Definition

A rectangle within which a face can be found.

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

Properties

Height

The height of the rectangle, in pixels.

Left

The distance from the left edge if the image to the left edge of the rectangle, in pixels.

Top

The distance from the top edge if the image to the top edge of the rectangle, in pixels.

Width

The width of the rectangle, in pixels.

Explicit Interface Implementations

IJsonModel<FaceRectangle>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<FaceRectangle>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FaceRectangle>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FaceRectangle>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<FaceRectangle>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to