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 Slides 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CropProperties() |
Modifier and Type | Method and Description |
---|---|
CropProperties |
clone() |
Float |
getAngle()
The rotation angle of the crop window around its center, in radians.
|
Float |
getBottomOffset()
The offset specifies the bottom edge of the crop rectangle that is located above the original
bounding rectangle bottom edge, relative to the object's original height.
|
Float |
getLeftOffset()
The offset specifies the left edge of the crop rectangle that is located to the right of the
original bounding rectangle left edge, relative to the object's original width.
|
Float |
getRightOffset()
The offset specifies the right edge of the crop rectangle that is located to the left of the
original bounding rectangle right edge, relative to the object's original width.
|
Float |
getTopOffset()
The offset specifies the top edge of the crop rectangle that is located below the original
bounding rectangle top edge, relative to the object's original height.
|
CropProperties |
set(String fieldName,
Object value) |
CropProperties |
setAngle(Float angle)
The rotation angle of the crop window around its center, in radians.
|
CropProperties |
setBottomOffset(Float bottomOffset)
The offset specifies the bottom edge of the crop rectangle that is located above the original
bounding rectangle bottom edge, relative to the object's original height.
|
CropProperties |
setLeftOffset(Float leftOffset)
The offset specifies the left edge of the crop rectangle that is located to the right of the
original bounding rectangle left edge, relative to the object's original width.
|
CropProperties |
setRightOffset(Float rightOffset)
The offset specifies the right edge of the crop rectangle that is located to the left of the
original bounding rectangle right edge, relative to the object's original width.
|
CropProperties |
setTopOffset(Float topOffset)
The offset specifies the top edge of the crop rectangle that is located below the original
bounding rectangle top edge, relative to the object's original height.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Float getAngle()
null
for nonepublic CropProperties setAngle(Float angle)
angle
- angle or null
for nonepublic Float getBottomOffset()
null
for nonepublic CropProperties setBottomOffset(Float bottomOffset)
bottomOffset
- bottomOffset or null
for nonepublic Float getLeftOffset()
null
for nonepublic CropProperties setLeftOffset(Float leftOffset)
leftOffset
- leftOffset or null
for nonepublic Float getRightOffset()
null
for nonepublic CropProperties setRightOffset(Float rightOffset)
rightOffset
- rightOffset or null
for nonepublic Float getTopOffset()
null
for nonepublic CropProperties setTopOffset(Float topOffset)
topOffset
- topOffset or null
for nonepublic CropProperties set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public CropProperties clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.