Reference documentation and code samples for the Transcoder V1 API class Google::Cloud::Video::Transcoder::V1::Overlay::AnimationStatic.
Display static overlay object.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#start_time_offset
def start_time_offset() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — The time to start displaying the overlay object, in seconds. Default: 0
#start_time_offset=
def start_time_offset=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — The time to start displaying the overlay object, in seconds. Default: 0
Returns
- (::Google::Protobuf::Duration) — The time to start displaying the overlay object, in seconds. Default: 0
#xy
def xy() -> ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Returns
-
(::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate) — Normalized coordinates based on output video resolution. Valid
values:
0.0
–1.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.
#xy=
def xy=(value) -> ::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate
Parameter
-
value (::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate) — Normalized coordinates based on output video resolution. Valid
values:
0.0
–1.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
-
(::Google::Cloud::Video::Transcoder::V1::Overlay::NormalizedCoordinate) — Normalized coordinates based on output video resolution. Valid
values:
0.0
–1.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.