MLKitVision Framework Reference
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\u003eVisionPoint represents a point in an image, using the same scale as the original image.\u003c/p\u003e\n"],["\u003cp\u003eIt includes \u003ccode\u003ex\u003c/code\u003e and \u003ccode\u003ey\u003c/code\u003e properties, representing the point's coordinates as CGFloat values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003einit\u003c/code\u003e method is unavailable for direct instantiation.\u003c/p\u003e\n"]]],["VisionPoint represents a point within an image, maintaining the original image's scale. It contains two key properties: `x`, the horizontal coordinate, and `y`, the vertical coordinate. Both coordinates are of type `CGFloat`, allowing for precise positioning. The `init` method is unavailable, so points are likely created through other means, rather than direct instantiation.\n"],null,["# MLKitVision Framework Reference\n\nVisionPoint\n===========\n\n class VisionPoint : 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 Swift \n\n var x: CGFloat { get }\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 Swift \n\n var y: CGFloat { get }\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKVisionPoint(im)init)\n\n `\n ` \n Unavailable."]]