Files

29 lines
655 B
Markdown

# UIGraphicsComponent.gradient
[← UIGraphicsComponent](index.md) · [← Master](../../wiki.md)
gradient(int primary, int secondary)
Graphic
Draw a vertical gradient rectangle.
---
gradient(int primary, int secondary, boolean horizontal)
Graphic Draw a vertical/horizontal gradient rectangle.
---
gradient(int x, int y, int w, int h, int primary, int secondary)
Graphic Draw a vertical gradient rectangle relative to graphics component's frame.
---
gradient(int x, int y, int w, int h, int primary, int secondary, boolean horizontal)
Graphic Draw a gradient rectangle relative to graphics component's frame.