Interface PaintContext


public interface PaintContext
  • Method Details

    • getScriptPaintFrame

      PaintFrame getScriptPaintFrame()
    • draw

      default void draw(Shape shape, Color color)
    • draw

      void draw(Shape shape, Color color, int strokeWidth)
    • fill

      void fill(Shape shape, Color color)
    • draw

      default void draw(Renderable renderable, Color color)
    • draw

      void draw(Renderable renderable, Color color, int strokeWidth)
    • fill

      void fill(Renderable renderable, Color color)
    • drawText

      default void drawText(String str, float x, float y, Color color)
    • drawText

      void drawText(String str, float x, float y, Color color, float size)
    • drawLine

      void drawLine(float startX, float startY, float endX, float endY, Color color, float strokeWidth)