Creates instance of GraphicsEnvironment for specified WindowFactoryparamwf WindowFactoryreturnNew instance of GraphicsEnvironment
This method creates Graphics2D instance for specified native window.paramwin Native window to drawparamtranslateX Translation along X axisparamtranslateY Translation along Y axisparamclip Clipping area for a new Graphics2D instancereturnNew Graphics2D instance for specified native windowdeprecated
This method creates Graphics2D instance for specified native window.paramwin Native window to drawparamtranslateX Translation along X axisparamtranslateY Translation along Y axisparamwidth Width of drawing areaparamheight Height of drawing areareturnNew Graphics2D instance for specified native window