Constructor and Description |
---|
GradientBuilder() |
Modifier and Type | Method and Description |
---|---|
Gradient |
build() |
Gradient.GradientBuilder |
color(String color)
Sets the marker color to a single value
|
Gradient.GradientBuilder |
color(String[] color)
Sets the marker color to an array of color values
|
Gradient.GradientBuilder |
type(Gradient.Type type) |
public Gradient.GradientBuilder type(Gradient.Type type)
public Gradient.GradientBuilder color(String color)
public Gradient.GradientBuilder color(String[] color)
public Gradient build()
Copyright © 2019. All rights reserved.