class Google::Apis::DocsV1::PositionedObjectPositioning

The positioning of a PositionedObject. The positioned object is positioned relative to the beginning of the Paragraph it is tethered to.

Attributes

layout[RW]

The layout of this positioned object. Corresponds to the JSON property `layout` @return [String]

left_offset[RW]

A magnitude in a single direction in the specified units. Corresponds to the JSON property `leftOffset` @return [Google::Apis::DocsV1::Dimension]

top_offset[RW]

A magnitude in a single direction in the specified units. Corresponds to the JSON property `topOffset` @return [Google::Apis::DocsV1::Dimension]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/docs_v1/classes.rb, line 3685
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 3690
def update!(**args)
  @layout = args[:layout] if args.key?(:layout)
  @left_offset = args[:left_offset] if args.key?(:left_offset)
  @top_offset = args[:top_offset] if args.key?(:top_offset)
end