Google Cloud Video Live Stream V1 Client - Class NormalizedCoordinate (1.1.0)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class NormalizedCoordinate.

2D normalized coordinates.

Generated from protobuf message google.cloud.video.livestream.v1.NormalizedCoordinate

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ x float

Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

↳ y float

Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

getX

Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

Returns
Type Description
float

setX

Optional. Normalized x coordinate. Valid range is [0.0, 1.0]. Default is 0.

Parameter
Name Description
var float
Returns
Type Description
$this

getY

Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

Returns
Type Description
float

setY

Optional. Normalized y coordinate. Valid range is [0.0, 1.0]. Default is 0.

Parameter
Name Description
var float
Returns
Type Description
$this