class Google::Apis::DocsV1::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::DocsV1::Dimension]
width[RW]
A magnitude in a single direction in the specified units. Corresponds to the JSON property `width` @return [Google::Apis::DocsV1::Dimension]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 4697 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/docs_v1/classes.rb, line 4702 def update!(**args) @height = args[:height] if args.key?(:height) @width = args[:width] if args.key?(:width) end