class Google::Apis::TranscoderV1::NormalizedCoordinate
2D normalized coordinates. Default: “0.0, 0.0“
Attributes
x[RW]
Normalized x coordinate. Corresponds to the JSON property ‘x` @return [Float]
y[RW]
Normalized y coordinate. Corresponds to the JSON property ‘y` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 1312 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/transcoder_v1/classes.rb, line 1317 def update!(**args) @x = args[:x] if args.key?(:x) @y = args[:y] if args.key?(:y) end