public final class ScaledShape
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 Maps Engine 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 |
|---|
ScaledShape() |
| Modifier and Type | Method and Description |
|---|---|
ScaledShape |
clone() |
Border |
getBorder()
Border color/width of the shape.
|
Color |
getFill()
The fill color of the shape.
|
java.lang.String |
getShape()
Name of the shape.
|
ScaledShape |
set(java.lang.String fieldName,
java.lang.Object value) |
ScaledShape |
setBorder(Border border)
Border color/width of the shape.
|
ScaledShape |
setFill(Color fill)
The fill color of the shape.
|
ScaledShape |
setShape(java.lang.String shape)
Name of the shape.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic Border getBorder()
null for nonepublic ScaledShape setBorder(Border border)
border - border or null for nonepublic Color getFill()
null for nonepublic ScaledShape setFill(Color fill)
fill - fill or null for nonepublic java.lang.String getShape()
null for nonepublic ScaledShape setShape(java.lang.String shape)
shape - shape or null for nonepublic ScaledShape set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ScaledShape clone()
clone in class com.google.api.client.json.GenericJson