1. What's the difference between Graphics.clearRect and Graphics.drawRect? stackoverflow.comI found a rendering bug in some code and have found a workaround, but I would like to know why I am getting different behaviour. In the old code, the background ... |
2. How to draw String with background on Graphics? stackoverflow.comI draw texts with Graphics.drawString but I want to draw Strings with rectangle background. |
3. Graphics.drawImage not using specified background color coderanch.comThanks to everyone in advance - I have created an image resizing class, with a crop method. The cropping works great, the issue that I am having is the background color that i specify in the drawImage function of Graphics is not working correctly, it defaults everything to black. Here is the code below that I am working with, I have ... |