Java Swing Tutorial - Graphics2D Example








Method

  1. Java Graphics2D .drawGlyphVector (GlyphVector g, float x, float y)
  2. Java Graphics2D.drawString(String str, int x, int y)
  3. Java Graphics2D.fill(Shape s)
  4. Java Graphics2D.rotate(double theta)
  5. Java Graphics2D.rotate(double theta, double x, double y)
  6. Java Graphics2D.scale(double sx, double sy)
  7. Java Graphics2D .setComposite (Composite comp)
  8. Java Graphics2D .setRenderingHint (RenderingHints .Key hintKey, Object hintValue)
  9. Java Graphics2D .setRenderingHints (Map hints)
  10. Java Graphics2D.setStroke(Stroke s)
  11. Java Graphics2D .setTransform (AffineTransform Tx)
  12. Java Graphics2D.shear(double shx, double shy)
  13. Java Graphics2D .transform (AffineTransform Tx)
  14. Java Graphics2D.translate(double tx, double ty)
  15. Java Graphics2D.translate(int x, int y)