|Drawing gradients [message #649063]
||Mon, 17 January 2011 08:28
| Greg Brown
Registered: December 2010
I tried to post this question a couple minutes ago, but it looks like it didn't go through. Trying again...|
When drawing gradients, is it preferable to use a Pattern or GC#fillGradientRectangle()? I assume a pattern will be more efficient but I'd just like to confirm.
Also, when disposing a gradient Pattern, is it necessary to also dispose the Color values passed to the constructor? I assume yes since it doesn't look like Pattern#dispose() will do it, but again just want to confirm.
Thanks for your help.
Powered by FUDForum
. Page generated in 0.01508 seconds