class Google::Apis::SlidesV1::TableRange

A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this: [ ] A table range with location = (0, 0), row span = 3 and column span = 2 specifies the following cells: x x [ x x x ]

Attributes

column_span[RW]

The column span of the table range. Corresponds to the JSON property `columnSpan` @return [Fixnum]

location[RW]

A location of a single table cell within a table. Corresponds to the JSON property `location` @return [Google::Apis::SlidesV1::TableCellLocation]

row_span[RW]

The row span of the table range. Corresponds to the JSON property `rowSpan` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/slides_v1/classes.rb, line 4002
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 4007
def update!(**args)
  @column_span = args[:column_span] if args.key?(:column_span)
  @location = args[:location] if args.key?(:location)
  @row_span = args[:row_span] if args.key?(:row_span)
end