public final class ImageProperties extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ImageProperties() |
Modifier and Type | Method and Description |
---|---|
ImageProperties |
clone() |
Float |
getAngle()
The clockwise rotation angle of the image, in radians.
|
Float |
getBrightness()
The brightness effect of the image.
|
String |
getContentUri()
A URI to the image with a default lifetime of 30 minutes.
|
Float |
getContrast()
The contrast effect of the image.
|
CropProperties |
getCropProperties()
The crop properties of the image.
|
String |
getSourceUri()
The source URI is the URI used to insert the image.
|
Float |
getTransparency()
The transparency effect of the image.
|
ImageProperties |
set(String fieldName,
Object value) |
ImageProperties |
setAngle(Float angle)
The clockwise rotation angle of the image, in radians.
|
ImageProperties |
setBrightness(Float brightness)
The brightness effect of the image.
|
ImageProperties |
setContentUri(String contentUri)
A URI to the image with a default lifetime of 30 minutes.
|
ImageProperties |
setContrast(Float contrast)
The contrast effect of the image.
|
ImageProperties |
setCropProperties(CropProperties cropProperties)
The crop properties of the image.
|
ImageProperties |
setSourceUri(String sourceUri)
The source URI is the URI used to insert the image.
|
ImageProperties |
setTransparency(Float transparency)
The transparency effect of the image.
|
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 ImageProperties setAngle(Float angle)
angle
- angle or null
for nonepublic Float getBrightness()
null
for nonepublic ImageProperties setBrightness(Float brightness)
brightness
- brightness or null
for nonepublic String getContentUri()
null
for nonepublic ImageProperties setContentUri(String contentUri)
contentUri
- contentUri or null
for nonepublic Float getContrast()
null
for nonepublic ImageProperties setContrast(Float contrast)
contrast
- contrast or null
for nonepublic CropProperties getCropProperties()
null
for nonepublic ImageProperties setCropProperties(CropProperties cropProperties)
cropProperties
- cropProperties or null
for nonepublic String getSourceUri()
null
for nonepublic ImageProperties setSourceUri(String sourceUri)
sourceUri
- sourceUri or null
for nonepublic Float getTransparency()
null
for nonepublic ImageProperties setTransparency(Float transparency)
transparency
- transparency or null
for nonepublic ImageProperties set(String fieldName, Object value)
set
in class GenericJson
public ImageProperties clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.