public final class LineStyle
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
| Modifier and Type | Class and Description |
|---|---|
static class |
LineStyle.Stroke
Stroke of the line.
|
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
LineStyle() |
| Modifier and Type | Method and Description |
|---|---|
LineStyle |
clone() |
Border |
getBorder()
Border of the line.
|
java.util.List<java.lang.Double> |
getDash()
Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap.
|
LabelStyle |
getLabel()
Label style for the line.
|
LineStyle.Stroke |
getStroke()
Stroke of the line.
|
LineStyle |
set(java.lang.String fieldName,
java.lang.Object value) |
LineStyle |
setBorder(Border border)
Border of the line.
|
LineStyle |
setDash(java.util.List<java.lang.Double> dash)
Dash defines the pattern of the line, the values are pixel lengths of alternating dash and gap.
|
LineStyle |
setLabel(LabelStyle label)
Label style for the line.
|
LineStyle |
setStroke(LineStyle.Stroke stroke)
Stroke of the line.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic Border getBorder()
null for nonepublic LineStyle setBorder(Border border)
border - border or null for nonepublic java.util.List<java.lang.Double> getDash()
null for nonepublic LineStyle setDash(java.util.List<java.lang.Double> dash)
dash - dash or null for nonepublic LabelStyle getLabel()
null for nonepublic LineStyle setLabel(LabelStyle label)
label - label or null for nonepublic LineStyle.Stroke getStroke()
null for nonepublic LineStyle setStroke(LineStyle.Stroke stroke)
stroke - stroke or null for nonepublic LineStyle set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LineStyle clone()
clone in class com.google.api.client.json.GenericJson