Interface DrawingContext


public interface DrawingContext
Author:
GBEMIRO
  • Method Details

    • setColor

      void setColor(GraphColor c)
    • setStrokeWidth

      void setStrokeWidth(float width)
    • setFont

      void setFont(GraphFont font)
    • drawLine

      void drawLine(float x1, float y1, float x2, float y2)
    • drawRect

      void drawRect(float x, float y, float width, float height)
    • fillRect

      void fillRect(float x, float y, float width, float height)
    • drawOval

      void drawOval(int x, int y, int width, int height)
    • fillOval

      void fillOval(int x, int y, int width, int height)
    • drawText

      void drawText(String text, float x, float y)
    • measureText

      TextDimensions measureText(String text)
    • getScale

      float getScale()