public final class TextRotation
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Sheets API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
TextRotation() |
| Modifier and Type | Method and Description |
|---|---|
TextRotation |
clone() |
java.lang.Integer |
getAngle()
The angle between the standard orientation and the desired orientation.
|
java.lang.Boolean |
getVertical()
If true, text reads top to bottom, but the orientation of individual characters is unchanged.
|
TextRotation |
set(java.lang.String fieldName,
java.lang.Object value) |
TextRotation |
setAngle(java.lang.Integer angle)
The angle between the standard orientation and the desired orientation.
|
TextRotation |
setVertical(java.lang.Boolean vertical)
If true, text reads top to bottom, but the orientation of individual characters is unchanged.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getAngle()
null for nonepublic TextRotation setAngle(java.lang.Integer angle)
angle - angle or null for nonepublic java.lang.Boolean getVertical()
null for nonepublic TextRotation setVertical(java.lang.Boolean vertical)
vertical - vertical or null for nonepublic TextRotation set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic TextRotation clone()
clone in class com.google.api.client.json.GenericJson