Class ImageWorker

    • Constructor Detail

      • ImageWorker

        public ImageWorker()
    • Method Detail

      • setG2d

        protected void setG2d​(Graphics2D g2d)
      • resize

        protected abstract void resize​(int width,
                                       int height)
      • clip

        protected void clip​(int x,
                            int y,
                            int width,
                            int height)
      • transform

        protected void transform​(int x,
                                 int y,
                                 double angle)
      • reset

        protected void reset()
      • fillRect

        protected void fillRect​(int x,
                                int y,
                                int width,
                                int height,
                                Paint paint)
      • fillPolygon

        protected void fillPolygon​(double[] x,
                                   double yBottom,
                                   double[] yTop,
                                   Paint paint)
      • fillPolygon

        protected void fillPolygon​(double[] x,
                                   double[] yBottom,
                                   double[] yTop,
                                   Paint paint)
      • drawLine

        protected void drawLine​(int x1,
                                int y1,
                                int x2,
                                int y2,
                                Paint paint,
                                Stroke stroke)
      • drawPolyline

        protected void drawPolyline​(double[] x,
                                    double[] y,
                                    Paint paint,
                                    Stroke stroke)
      • drawString

        protected void drawString​(String text,
                                  int x,
                                  int y,
                                  Font font,
                                  Paint paint)
      • getFontAscent

        protected double getFontAscent​(Font font)
      • getFontHeight

        protected double getFontHeight​(Font font)
      • getStringWidth

        protected double getStringWidth​(String text,
                                        Font font)
      • setAntiAliasing

        protected void setAntiAliasing​(boolean enable)
      • setTextAntiAliasing

        protected void setTextAntiAliasing​(boolean enable)
      • dispose

        protected void dispose()