Constructor | Description |
---|---|
GradientBuilder() |
Modifier and Type | Method | 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 © 2021. All rights reserved.