public class GradientPainter extends Object
| Constructor and Description |
|---|
GradientPainter(Color start,
Color mid) |
| Modifier and Type | Method and Description |
|---|---|
Color |
getMidColor() |
Color |
getStartColor() |
void |
paintGradient(JComponent comp,
Graphics g) |
void |
setMidColor(Color midColor) |
void |
setStartColor(Color startColor) |
Copyright © 2021. All rights reserved.