The drawImage()
methods returns a boolean
. Many people don’t realize this, since the return value of drawImage()
is often ignored. However, that boolean
tells you whether or not the image was drawn successfully. If it was, drawImage()
returns true
. Otherwise drawImage()
returns false
.
3
solved understanding syntax of boolean Graphics.drawImage()