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 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
Constructor and Description |
---|
RgbColor() |
Modifier and Type | Method and Description |
---|---|
RgbColor |
clone() |
java.lang.Float |
getBlue()
The blue component of the color, from 0.0 to 1.0.
|
java.lang.Float |
getGreen()
The green component of the color, from 0.0 to 1.0.
|
java.lang.Float |
getRed()
The red component of the color, from 0.0 to 1.0.
|
RgbColor |
set(java.lang.String fieldName,
java.lang.Object value) |
RgbColor |
setBlue(java.lang.Float blue)
The blue component of the color, from 0.0 to 1.0.
|
RgbColor |
setGreen(java.lang.Float green)
The green component of the color, from 0.0 to 1.0.
|
RgbColor |
setRed(java.lang.Float red)
The red component of the color, from 0.0 to 1.0.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.Float getBlue()
null
for nonepublic RgbColor setBlue(java.lang.Float blue)
blue
- blue or null
for nonepublic java.lang.Float getGreen()
null
for nonepublic RgbColor setGreen(java.lang.Float green)
green
- green or null
for nonepublic java.lang.Float getRed()
null
for nonepublic RgbColor setRed(java.lang.Float red)
red
- red or null
for nonepublic RgbColor set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public RgbColor clone()
clone
in class com.google.api.client.json.GenericJson