# Cloud Vision V1 API - Class Google::Cloud::Vision::V1::Position (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.15.0 0.14.0 0.13.2 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.4 Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::Position.

A 3D position in the image, used primarily for Face detection landmarks.
A valid Position must have both x and y coordinates.
The position coordinates are in the same scale as the original image.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #x

    def x() -> ::Float

**Returns**

- (::Float) --- X coordinate.

### #x=

    def x=(value) -> ::Float

**Parameter**

- **value** (::Float) --- X coordinate.
**Returns**

- (::Float) --- X coordinate.

### #y

    def y() -> ::Float

**Returns**

- (::Float) --- Y coordinate.

### #y=

    def y=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Y coordinate.
**Returns**

- (::Float) --- Y coordinate.

### #z

    def z() -> ::Float

**Returns**

- (::Float) --- Z coordinate (or depth).

### #z=

    def z=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Z coordinate (or depth).
**Returns**

- (::Float) --- Z coordinate (or depth).