public final class RgbColor
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 |
|---|
RgbColor() |
| Modifier and Type | Method and Description |
|---|---|
RgbColor |
clone() |
Float |
getBlue()
The blue component of the color, from 0.0 to 1.0.
|
Float |
getGreen()
The green component of the color, from 0.0 to 1.0.
|
Float |
getRed()
The red component of the color, from 0.0 to 1.0.
|
RgbColor |
set(String fieldName,
Object value) |
RgbColor |
setBlue(Float blue)
The blue component of the color, from 0.0 to 1.0.
|
RgbColor |
setGreen(Float green)
The green component of the color, from 0.0 to 1.0.
|
RgbColor |
setRed(Float red)
The red component of the color, from 0.0 to 1.0.
|
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 getBlue()
null for nonepublic RgbColor setBlue(Float blue)
blue - blue or null for nonepublic Float getGreen()
null for nonepublic RgbColor setGreen(Float green)
green - green or null for nonepublic Float getRed()
null for nonepublic RgbColor setRed(Float red)
red - red or null for nonepublic RgbColor set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic RgbColor clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.