Compartir a través de


ImageBoundingBox Class

Definition

A basic rectangle specifying a sub-region of the image.

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

Properties

Height

Height of the area, in pixels.

Width

Width of the area, in pixels.

X

X-coordinate of the top left point of the area, in pixels.

Y

Y-coordinate of the top left point of the area, in pixels.

Methods

ToString()

Returns a string that represents the current object.

Explicit Interface Implementations

IJsonModel<ImageBoundingBox>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImageBoundingBox>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImageBoundingBox>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImageBoundingBox>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImageBoundingBox>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to