MLKitVision Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
MLKVisionPoint
@interface
MLKVisionPoint
:
NSObject
A point in an image. The point’s coordinates have the same scale as the original image.
-
The x-coordinate of the point.
Declaration
Objective-C
@property
(
nonatomic
,
readonly
)
CGFloat
x
;
-
The y-coordinate of the point.
Declaration
Objective-C
@property
(
nonatomic
,
readonly
)
CGFloat
y
;
-
Declaration
Objective-C
-
(
nonnull
instancetype
)
init
;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["\u003cp\u003e\u003ccode\u003eMLKVisionPoint\u003c/code\u003e represents a point in an image, with coordinates scaled to the original image.\u003c/p\u003e\n"],["\u003cp\u003eIt has two read-only properties: \u003ccode\u003ex\u003c/code\u003e for the horizontal coordinate and \u003ccode\u003ey\u003c/code\u003e for the vertical coordinate.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einit\u003c/code\u003e method is unavailable; presumably, instances are created through other means within the ML Kit framework.\u003c/p\u003e\n"]]],[],null,["# MLKitVision Framework Reference\n\nMLKVisionPoint\n==============\n\n\n @interface MLKVisionPoint : NSObject\n\nA point in an image. The point's coordinates have the same scale as the original image.\n- `\n ``\n ``\n `\n\n ### [x](#/c:objc(cs)MLKVisionPoint(py)x)\n\n `\n ` \n The x-coordinate of the point. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) CGFloat x;\n\n- `\n ``\n ``\n `\n\n ### [y](#/c:objc(cs)MLKVisionPoint(py)y)\n\n `\n ` \n The y-coordinate of the point. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) CGFloat y;\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKVisionPoint(im)init)\n\n `\n ` \n Unavailable. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;"]]