- Joined
- Sep 15, 2012
- Messages
- 102
- Reaction score
- 60
- First Language
- Portuguese
I'm having trouble understanding the bitmap.resize method, shouldn't
this.a.bitmap = new Bitmap(width, height);this.a.bitmap.gradientFillRect(0, 0, width, height, color1, color2); and,
this.a.bitmap.clear()this.a.bitmap.resize(width, height);this.a.bitmap.gradientFillRect(0, 0, width, height, color1, color2);do the same thing?
cus it doesn't work, can someone explain me the difference and the why?
Thank you in advance
this.a.bitmap = new Bitmap(width, height);this.a.bitmap.gradientFillRect(0, 0, width, height, color1, color2); and,
this.a.bitmap.clear()this.a.bitmap.resize(width, height);this.a.bitmap.gradientFillRect(0, 0, width, height, color1, color2);do the same thing?
cus it doesn't work, can someone explain me the difference and the why?
Thank you in advance
Last edited by a moderator:
