class Google::Apis::SheetsV4::TextRotation
The rotation applied to text in a cell.
Attributes
The angle between the standard orientation and the desired orientation. Measured in degrees. Valid values are between -90 and 90. Positive angles are angled upwards, negative are angled downwards. Note: For LTR text direction positive angles are in the counterclockwise direction, whereas for RTL they are in the clockwise direction Corresponds to the JSON property `angle` @return [Fixnum]
If true, text reads top to bottom, but the orientation of individual characters is unchanged. For example: | V | | e | | r | | t | | i | | c | | a | | l | Corresponds to the JSON property `vertical` @return [Boolean]
If true, text reads top to bottom, but the orientation of individual characters is unchanged. For example: | V | | e | | r | | t | | i | | c | | a | | l | Corresponds to the JSON property `vertical` @return [Boolean]
Public Class Methods
# File lib/google/apis/sheets_v4/classes.rb, line 9617 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 9622 def update!(**args) @angle = args[:angle] if args.key?(:angle) @vertical = args[:vertical] if args.key?(:vertical) end