Compartilhar via


AIVisionImageAnalysisModelFactory.ImageBoundingBox Method

Definition

Initializes a new instance of ImageBoundingBox.

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

Parameters

x
Int32

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

y
Int32

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

width
Int32

Width of the area, in pixels.

height
Int32

Height of the area, in pixels.

Returns

A new ImageBoundingBox instance for mocking.

Applies to