你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AIVisionImageAnalysisModelFactory.ImagePoint(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.