class Google::Apis::SheetsV4::OverlayPosition
The location an object is overlaid on top of a grid.
Attributes
A coordinate in a sheet. All indexes are zero-based. Corresponds to the JSON property `anchorCell` @return [Google::Apis::SheetsV4::GridCoordinate]
The height of the object, in pixels. Defaults to 371. Corresponds to the JSON property `heightPixels` @return [Fixnum]
The horizontal offset, in pixels, that the object is offset from the anchor cell. Corresponds to the JSON property `offsetXPixels` @return [Fixnum]
The vertical offset, in pixels, that the object is offset from the anchor cell. Corresponds to the JSON property `offsetYPixels` @return [Fixnum]
The width of the object, in pixels. Defaults to 600. Corresponds to the JSON property `widthPixels` @return [Fixnum]
Public Class Methods
# File lib/google/apis/sheets_v4/classes.rb, line 6960 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 6965 def update!(**args) @anchor_cell = args[:anchor_cell] if args.key?(:anchor_cell) @height_pixels = args[:height_pixels] if args.key?(:height_pixels) @offset_x_pixels = args[:offset_x_pixels] if args.key?(:offset_x_pixels) @offset_y_pixels = args[:offset_y_pixels] if args.key?(:offset_y_pixels) @width_pixels = args[:width_pixels] if args.key?(:width_pixels) end