Interface DrawingContext
public interface DrawingContext
- Author:
- GBEMIRO
-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawLine(float x1, float y1, float x2, float y2) voiddrawOval(int x, int y, int width, int height) voiddrawRect(float x, float y, float width, float height) voidvoidfillOval(int x, int y, int width, int height) voidfillRect(float x, float y, float width, float height) floatgetScale()measureText(String text) voidvoidvoidsetStrokeWidth(float width)
-
Method Details
-
setColor
-
setStrokeWidth
void setStrokeWidth(float width) -
setFont
-
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
-
measureText
-
getScale
float getScale()
-