Vertex
class Vertex extends Message
A vertex represents a 2D point in the image.
NOTE: the vertex coordinates are in the same scale as the original image.
Protobuf type Google\Cloud\Vision\V1\Vertex
Methods
__construct()
No description
int
getX()
X coordinate.
setX(int $var)
X coordinate.
int
getY()
Y coordinate.
setY(int $var)
Y coordinate.
Details
at line 32
__construct()
at line 43
int
getX()
X coordinate.
Generated from protobuf field int32 x = 1;
at line 54
setX(int $var)
X coordinate.
Generated from protobuf field int32 x = 1;
at line 66
int
getY()
Y coordinate.
Generated from protobuf field int32 y = 2;
at line 77
setY(int $var)
Y coordinate.
Generated from protobuf field int32 y = 2;