class Google::Apis::SlidesV1::Dimension
A magnitude in a single direction in the specified units.
Attributes
magnitude[RW]
The magnitude. Corresponds to the JSON property `magnitude` @return [Float]
unit[RW]
The units for magnitude. Corresponds to the JSON property `unit` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 1049 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/slides_v1/classes.rb, line 1054 def update!(**args) @magnitude = args[:magnitude] if args.key?(:magnitude) @unit = args[:unit] if args.key?(:unit) end