ImagePoint Class

Definition

Represents the coordinates of a single pixel in the image.

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

Properties

X

The horizontal x-coordinate of this point, in pixels. Zero values corresponds to the left-most pixels in the image.

Y

The vertical y-coordinate of this point, in pixels. Zero values corresponds to the top-most pixels in the image.

Methods

ToString()

Returns a string that represents the current object.

Explicit Interface Implementations

IJsonModel<ImagePoint>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ImagePoint>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ImagePoint>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ImagePoint>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ImagePoint>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to