Module imp2d

Class AWTCanvas2D

All Implemented Interfaces:
ViewComponent, ComponentWrapper, Selectable, Disposable, ImageObserver, Runnable

public class AWTCanvas2D extends CanvasAdapter
  • Field Details

    • STROKE_1

      public static final Stroke STROKE_1
    • STROKE_3

      public static final Stroke STROKE_3
    • pool

      public final Pool pool
  • Constructor Details

    • AWTCanvas2D

      public AWTCanvas2D()
  • Method Details

    • getView2D

      public View2D getView2D()
    • initPaint

      protected void initPaint(int flags, int width, int height)
      Specified by:
      initPaint in class CanvasAdapter
    • paintScene

      protected void paintScene(int flags, Graphics2D g)
      Specified by:
      paintScene in class CanvasAdapter
    • paintHighlight

      protected void paintHighlight(int flags, Graphics2D g)
      Specified by:
      paintHighlight in class CanvasAdapter
    • finalizePaint

      protected void finalizePaint()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getCurrentLayer

      public int getCurrentLayer()
    • getMinLayer

      public int getMinLayer()
    • getMaxLayer

      public int getMaxLayer()
    • isCurrentLayer

      public boolean isCurrentLayer(int layer)
    • setGraphicsTransform

      public void setGraphicsTransform(Matrix3d t)
    • draw

      public void draw(Shape s, Matrix3d t, Stroke stroke)
    • setColor

      public void setColor(Color color)
      Specified by:
      setColor in class CanvasAdapter