Returns a Graphics2D object for rendering into the specified {@link BufferedImage}.
@param img the specified BufferedImage
@return a Graphics2D to be used for rendering intothe specified BufferedImage
@throws NullPointerException if img is null
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.