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
AbstractMap.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, 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 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.GenericJson
public RgbColor clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.