public final class CropProperties
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 Docs 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CropProperties() |
| Modifier and Type | Method and Description |
|---|---|
CropProperties |
clone() |
Float |
getAngle()
The clockwise rotation angle of the crop rectangle around its center, in radians.
|
Float |
getOffsetBottom()
The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom
edge of the original content as a fraction of the original content's height.
|
Float |
getOffsetLeft()
The offset specifies how far inwards the left edge of the crop rectangle is from the left edge
of the original content as a fraction of the original content's width.
|
Float |
getOffsetRight()
The offset specifies how far inwards the right edge of the crop rectangle is from the right
edge of the original content as a fraction of the original content's width.
|
Float |
getOffsetTop()
The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of
the original content as a fraction of the original content's height.
|
CropProperties |
set(String fieldName,
Object value) |
CropProperties |
setAngle(Float angle)
The clockwise rotation angle of the crop rectangle around its center, in radians.
|
CropProperties |
setOffsetBottom(Float offsetBottom)
The offset specifies how far inwards the bottom edge of the crop rectangle is from the bottom
edge of the original content as a fraction of the original content's height.
|
CropProperties |
setOffsetLeft(Float offsetLeft)
The offset specifies how far inwards the left edge of the crop rectangle is from the left edge
of the original content as a fraction of the original content's width.
|
CropProperties |
setOffsetRight(Float offsetRight)
The offset specifies how far inwards the right edge of the crop rectangle is from the right
edge of the original content as a fraction of the original content's width.
|
CropProperties |
setOffsetTop(Float offsetTop)
The offset specifies how far inwards the top edge of the crop rectangle is from the top edge of
the original content as a fraction of the original content's height.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Float getAngle()
null for nonepublic CropProperties setAngle(Float angle)
angle - angle or null for nonepublic Float getOffsetBottom()
null for nonepublic CropProperties setOffsetBottom(Float offsetBottom)
offsetBottom - offsetBottom or null for nonepublic Float getOffsetLeft()
null for nonepublic CropProperties setOffsetLeft(Float offsetLeft)
offsetLeft - offsetLeft or null for nonepublic Float getOffsetRight()
null for nonepublic CropProperties setOffsetRight(Float offsetRight)
offsetRight - offsetRight or null for nonepublic Float getOffsetTop()
null for nonepublic CropProperties setOffsetTop(Float offsetTop)
offsetTop - offsetTop or null for nonepublic CropProperties set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CropProperties clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.