public static class Marker.MarkerBuilder
extends java.lang.Object
Constructor | Description |
---|---|
MarkerBuilder() |
Modifier and Type | Method | Description |
---|---|---|
Marker.MarkerBuilder |
autoColorScale(boolean b) |
Has an effect only if `marker.color` is set to a numerical array.
|
Marker |
build() |
|
Marker.MarkerBuilder |
cAuto(boolean b) |
Has an effect only if `marker.color` is set to a numerical array and `cmin`, `cmax` are also set.
|
Marker.MarkerBuilder |
cMinAndMax(double min,
double max) |
Has an effect only if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
color(java.lang.String color) |
Sets the marker color to a single value
|
Marker.MarkerBuilder |
color(java.lang.String[] color) |
Sets the marker color to an array of color values
|
Marker.MarkerBuilder |
colorScale(Marker.Palette palette) |
Sets the colorscale and only has an effect if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
opacity(double opacity) |
Sets the opacity.
|
Marker.MarkerBuilder |
reverseScale(boolean b) |
Has an effect only if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
showScale(boolean b) |
Has an effect only if `marker.color` is set to a numerical array.
|
Marker.MarkerBuilder |
size(double... size) |
|
Marker.MarkerBuilder |
size(NumberColumn size) |
|
Marker.MarkerBuilder |
sizeMode(Marker.SizeMode sizeMode) |
Sets the size mode for the marker
Has an effect only if `marker.size` is set to a numerical array.
|
Marker.MarkerBuilder |
symbol(Symbol symbol) |
Sets the symbol for the marker
|
public Marker.MarkerBuilder size(double... size)
public Marker.MarkerBuilder size(NumberColumn size)
public Marker.MarkerBuilder cAuto(boolean b)
public Marker.MarkerBuilder reverseScale(boolean b)
public Marker.MarkerBuilder autoColorScale(boolean b)
public Marker.MarkerBuilder cMinAndMax(double min, double max)
public Marker.MarkerBuilder showScale(boolean b)
public Marker.MarkerBuilder colorScale(Marker.Palette palette)
public Marker.MarkerBuilder opacity(double opacity)
public Marker.MarkerBuilder color(java.lang.String color)
public Marker.MarkerBuilder color(java.lang.String[] color)
public Marker.MarkerBuilder symbol(Symbol symbol)
public Marker.MarkerBuilder sizeMode(Marker.SizeMode sizeMode)
public Marker build()
Copyright © 2018. All rights reserved.