class Google::Apis::SlidesV1::Size
A width and height.
Attributes
height[RW]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `height` @return [Google::Apis::SlidesV1::Dimension]
width[RW]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `width` @return [Google::Apis::SlidesV1::Dimension]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 3536 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 3541 def update!(**args) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end