2013/1/14 Stefan Hellmann <[email protected]>

>
> Wow, that looks good. Anyone has a solution for the old
> set_gradient_angle "parameter"?
>
> For example:
>
> gradient = "linear:0,0:20,20:0," .. beautiful.fg_end_widget .. ":0.5,"
> .. beautiful.fg_center_widget .. ":1," .. beautiful.fg_widget "
> cpuw:set_color(gradient)
> cpuw:set_gradient_angle(0)
>
>
Hi!

As far as I know, there is no set_gradient_angle (or any corresponding
method).
The parameters of the pattern will define it.

You can find examples and read about this here:
http://zetcode.com/gui/javagnome/drawingII/
(Just scroll down to the "Gradients" part)

Regards,
Nándor

Reply via email to