A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Java Micro Edition
Drawing images - mutable or immutable?
Joined: Jan 22, 2004
May 11, 2007 05:25:00
Does anyone know if it's considered better practice to convert mutable images to immutable before drawing to the canvas?
Joined: Feb 05, 2001
May 13, 2007 09:57:00
That really depends if you expect to need to change the
programmatically. In some cases, you don't have a choice, I believe if you resize an image it becomse immutable.
Perfect World Programming, LLC
Two Laptop Bag
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Drawing images - mutable or immutable?
string vs stringbuffer
String Vs String Buffer
StringBuffer and String returned from a method doubt
Strings and StringBuffers
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015