Class: Google::Apis::SheetsV4::TextPosition
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SheetsV4::TextPosition
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/google/apis/sheets_v4/representations.rb 
Overview
Position settings for text.
Instance Attribute Summary collapse
- 
  
    
      #horizontal_alignment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Horizontal alignment setting for the piece of text.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TextPosition 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TextPosition.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TextPosition
Returns a new instance of TextPosition
      8254 8255 8256  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 8254 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#horizontal_alignment ⇒ String
Horizontal alignment setting for the piece of text.
Corresponds to the JSON property horizontalAlignment
      8252 8253 8254  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 8252 def horizontal_alignment @horizontal_alignment end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      8259 8260 8261  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 8259 def update!(**args) @horizontal_alignment = args[:horizontal_alignment] if args.key?(:horizontal_alignment) end  |