public class GradientPlot extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GradientPlot.GradientDirection |
static class |
GradientPlot.GradientType |
| Constructor and Description |
|---|
GradientPlot() |
GradientPlot(Color from,
Color to) |
| Modifier and Type | Method and Description |
|---|---|
GradientPaint |
generate() |
GradientPaint |
generate(int x,
int y,
int width,
int height) |
GradientPlot.GradientDirection |
getDirection() |
Color |
getFromColor() |
int |
getHeight() |
Color |
getToColor() |
GradientPlot.GradientType |
getType() |
int |
getWidth() |
void |
setDirection(GradientPlot.GradientDirection direction) |
void |
setFromColor(Color fromColor) |
void |
setHeight(int height) |
void |
setToColor(Color toColor) |
void |
setType(GradientPlot.GradientType type) |
void |
setWidth(int width) |
public GradientPaint generate()
public GradientPaint generate(int x, int y, int width, int height)
public Color getFromColor()
public void setFromColor(Color fromColor)
public Color getToColor()
public void setToColor(Color toColor)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public GradientPlot.GradientDirection getDirection()
public void setDirection(GradientPlot.GradientDirection direction)
public GradientPlot.GradientType getType()
public void setType(GradientPlot.GradientType type)
Copyright © 2019 com.github.mfjamil. All rights reserved.