Package org.jzy3d.plot2d.rendering
Class AWTGraphicsUtils
- java.lang.Object
- 
- org.jzy3d.plot2d.rendering.AWTGraphicsUtils
 
- 
 public class AWTGraphicsUtils extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description AWTGraphicsUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconfigureRenderingHints(Graphics2D g2d)Force text to be anti-aliased.static BufferedImagecopy(BufferedImage source)static voiddrawString(Graphics2D g2d, Font font, boolean useOSFontRendering, String string, int x, int y)A draw string method allowing to bypass OS font rendering if noticing font rendering glitches.static Coord2dgetPixelScale(Graphics2D g2d)static voidprintGraphicParameters(Graphics2D g2)static BufferedImagescale(BufferedImage in, float x, float y)static intstringWidth(Graphics2D g2d, String string)
 
- 
- 
- 
Method Detail- 
scalepublic static BufferedImage scale(BufferedImage in, float x, float y) 
 - 
copypublic static BufferedImage copy(BufferedImage source) 
 - 
configureRenderingHintspublic static void configureRenderingHints(Graphics2D g2d) Force text to be anti-aliased.
 - 
drawStringpublic static void drawString(Graphics2D g2d, Font font, boolean useOSFontRendering, String string, int x, int y) A draw string method allowing to bypass OS font rendering if noticing font rendering glitches. It may be worth invokingconfigureRenderingHints(Graphics2D)right before.
 - 
stringWidthpublic static int stringWidth(Graphics2D g2d, String string) 
 - 
printGraphicParameterspublic static void printGraphicParameters(Graphics2D g2) 
 - 
getPixelScalepublic static Coord2d getPixelScale(Graphics2D g2d) 
 
- 
 
-