public final class OverlayPosition
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 |
|---|
OverlayPosition() |
| Modifier and Type | Method and Description |
|---|---|
OverlayPosition |
clone() |
GridCoordinate |
getAnchorCell()
The cell the object is anchored to.
|
java.lang.Integer |
getHeightPixels()
The height of the object, in pixels.
|
java.lang.Integer |
getOffsetXPixels()
The horizontal offset, in pixels, that the object is offset from the anchor cell.
|
java.lang.Integer |
getOffsetYPixels()
The vertical offset, in pixels, that the object is offset from the anchor cell.
|
java.lang.Integer |
getWidthPixels()
The width of the object, in pixels.
|
OverlayPosition |
set(java.lang.String fieldName,
java.lang.Object value) |
OverlayPosition |
setAnchorCell(GridCoordinate anchorCell)
The cell the object is anchored to.
|
OverlayPosition |
setHeightPixels(java.lang.Integer heightPixels)
The height of the object, in pixels.
|
OverlayPosition |
setOffsetXPixels(java.lang.Integer offsetXPixels)
The horizontal offset, in pixels, that the object is offset from the anchor cell.
|
OverlayPosition |
setOffsetYPixels(java.lang.Integer offsetYPixels)
The vertical offset, in pixels, that the object is offset from the anchor cell.
|
OverlayPosition |
setWidthPixels(java.lang.Integer widthPixels)
The width of the object, in pixels.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic GridCoordinate getAnchorCell()
null for nonepublic OverlayPosition setAnchorCell(GridCoordinate anchorCell)
anchorCell - anchorCell or null for nonepublic java.lang.Integer getHeightPixels()
null for nonepublic OverlayPosition setHeightPixels(java.lang.Integer heightPixels)
heightPixels - heightPixels or null for nonepublic java.lang.Integer getOffsetXPixels()
null for nonepublic OverlayPosition setOffsetXPixels(java.lang.Integer offsetXPixels)
offsetXPixels - offsetXPixels or null for nonepublic java.lang.Integer getOffsetYPixels()
null for nonepublic OverlayPosition setOffsetYPixels(java.lang.Integer offsetYPixels)
offsetYPixels - offsetYPixels or null for nonepublic java.lang.Integer getWidthPixels()
null for nonepublic OverlayPosition setWidthPixels(java.lang.Integer widthPixels)
widthPixels - widthPixels or null for nonepublic OverlayPosition set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic OverlayPosition clone()
clone in class com.google.api.client.json.GenericJson