Class: Google::Apis::SlidesV1::TableRange
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::TableRange
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
 generated/google/apis/slides_v1/representations.rb,
 generated/google/apis/slides_v1/representations.rb
Overview
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 ]
Instance Attribute Summary collapse
- 
  
    
      #column_span  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The column span of the table range. 
- 
  
    
      #location  ⇒ Google::Apis::SlidesV1::TableCellLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A location of a single table cell within a table. 
- 
  
    
      #row_span  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The row span of the table range. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TableRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TableRange. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TableRange
Returns a new instance of TableRange
| 3984 3985 3986 | # File 'generated/google/apis/slides_v1/classes.rb', line 3984 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#column_span ⇒ Fixnum
The column span of the table range.
Corresponds to the JSON property columnSpan
| 3972 3973 3974 | # File 'generated/google/apis/slides_v1/classes.rb', line 3972 def column_span @column_span end | 
#location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
Corresponds to the JSON property location
| 3977 3978 3979 | # File 'generated/google/apis/slides_v1/classes.rb', line 3977 def location @location end | 
#row_span ⇒ Fixnum
The row span of the table range.
Corresponds to the JSON property rowSpan
| 3982 3983 3984 | # File 'generated/google/apis/slides_v1/classes.rb', line 3982 def row_span @row_span end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3989 3990 3991 3992 3993 | # File 'generated/google/apis/slides_v1/classes.rb', line 3989 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 |