public interface IGradientDrawer extends IDrawer
Modifier and Type | Interface and Description |
---|---|
static class |
IGradientDrawer.SpreadMode |
Modifier and Type | Method and Description |
---|---|
void |
setup(Gradient gradient,
IGradientDrawer.SpreadMode spread_mode)
Where drawing internals should be initialized.
|
void setup(Gradient gradient, IGradientDrawer.SpreadMode spread_mode)
gradient
- A Gradient
instance to control color pickupspread_mode
- The IGradientDrawer.SpreadMode
used to spread the gradient