Fusion Tables API v1 (revision 16)
com.google.api.services.fusiontables.model
Class StyleFunction.Gradient.Colors
java.lang.Object
java.util.AbstractMap<java.lang.String,java.lang.Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.fusiontables.model.StyleFunction.Gradient.Colors
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.Object>
- Enclosing class:
- StyleFunction.Gradient
public static final class StyleFunction.Gradient.Colors
- extends GenericJson
Model definition for StyleFunctionGradientColors.
| Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
| Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
| Methods inherited from class java.util.AbstractMap |
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
StyleFunction.Gradient.Colors
public StyleFunction.Gradient.Colors()
getColor
public java.lang.String getColor()
- Color in #RRGGBB format.
The value returned may be
null.
setColor
public StyleFunction.Gradient.Colors setColor(java.lang.String color)
- Color in #RRGGBB format.
The value set may be
null.
getOpacity
public java.lang.Double getOpacity()
- Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
The value returned may be
null.
setOpacity
public StyleFunction.Gradient.Colors setOpacity(java.lang.Double opacity)
- Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
The value set may be
null.