Partager via


AIVisionImageAnalysisModelFactory.ImagePoint(Int32, Int32) Method

Definition

Initializes a new instance of ImagePoint.

public static Azure.AI.Vision.ImageAnalysis.ImagePoint ImagePoint (int x = 0, int y = 0);
static member ImagePoint : int * int -> Azure.AI.Vision.ImageAnalysis.ImagePoint
Public Shared Function ImagePoint (Optional x As Integer = 0, Optional y As Integer = 0) As ImagePoint

Parameters

x
Int32

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

y
Int32

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

Returns

A new ImagePoint instance for mocking.

Applies to