Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class NormalizedCoordinate.
2D normalized coordinates. Default: {0.0, 0.0}
Generated from protobuf message google.cloud.video.transcoder.v1.Overlay.NormalizedCoordinate
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ x | floatNormalized x coordinate. | 
| ↳ y | floatNormalized y coordinate. | 
getX
Normalized x coordinate.
| Returns | |
|---|---|
| Type | Description | 
| float | |
setX
Normalized x coordinate.
| Parameter | |
|---|---|
| Name | Description | 
| var | float | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
getY
Normalized y coordinate.
| Returns | |
|---|---|
| Type | Description | 
| float | |
setY
Normalized y coordinate.
| Parameter | |
|---|---|
| Name | Description | 
| var | float | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |