Google Cloud Video Transcoder V1 Client - Class AnimationStatic (1.3.1)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class AnimationStatic.

Display static overlay object.

Generated from protobuf message google.cloud.video.transcoder.v1.Overlay.AnimationStatic

Namespace

Google \ Cloud \ Video \ Transcoder \ V1 \ Overlay

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ xy NormalizedCoordinate

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.

↳ start_time_offset Google\Protobuf\Duration

The time to start displaying the overlay object, in seconds. Default: 0

getXy

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.

Returns
Type Description
NormalizedCoordinate|null

hasXy

clearXy

setXy

Normalized coordinates based on output video resolution. Valid values: 0.01.0. xy is the upper-left coordinate of the overlay object. For example, use the x and y coordinates {0,0} to position the top-left corner of the overlay animation in the top-left corner of the output video.

Parameter
Name Description
var NormalizedCoordinate
Returns
Type Description
$this

getStartTimeOffset

The time to start displaying the overlay object, in seconds. Default: 0

Returns
Type Description
Google\Protobuf\Duration|null

hasStartTimeOffset

clearStartTimeOffset

setStartTimeOffset

The time to start displaying the overlay object, in seconds. Default: 0

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

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 2025年10月30日 UTC.