In Swing, if I were to use the Graphics2D drawImage method to draw an image at coordinates so that it would not be seen at all in the visible panel e.g 100 by 100 panel, drawing a 100 by 100 image at -200, -200, Would this affect the rendering time just as much as if it were within the range of the panel and this painted to screen?
Or would it be better to have copious amounts of statements to check whether something is within the range of the panel and if not, don't draw it?
This is for a game with lots of images moving around the panel coordinates and some may go leave the range of the panel.
Cheers