| Constructor and Description |
|---|
GEngineGraphics() |
| Modifier and Type | Method and Description |
|---|---|
void |
drawArc(float x,
float y,
float w,
float h,
int a0,
int a1) |
void |
drawArcConnector(float x0,
float y0,
float x1,
float y1,
float start_offset,
float end_offset,
float ctrl_offset,
float arc_offset,
boolean arrow) |
void |
drawCircle(float x,
float y,
float r) |
void |
drawDownArrow(float ox,
float oy,
float w,
float h) |
void |
drawLine(float x0,
float y0,
float x1,
float y1) |
void |
drawOval(float x,
float y,
float dx,
float dy) |
void |
drawRect(float x,
float y,
float dx,
float dy) |
void |
drawRightArrow(float ox,
float oy,
float w,
float h) |
void |
drawRoundRect(float x,
float y,
float dx,
float dy,
float arc_dx,
float arc_dy) |
void |
drawSpline(float x0,
float y0,
float x1,
float y1,
float startOffset,
float endOffset,
float flateness,
boolean arrow) |
void |
drawString(Font font,
String s,
float x,
float y,
int align) |
void |
drawUpArrow(float ox,
float oy,
float w,
float h) |
void |
fillCircle(float x,
float y,
float r) |
void |
fillOval(float x,
float y,
float dx,
float dy) |
void |
fillRect(float x,
float y,
float dx,
float dy) |
Color |
getColor() |
Graphics2D |
getG2D() |
float |
getStringPixelWidth(Font font,
String s) |
void |
setColor(Color color) |
void |
setLineWidth(float width) |
setContextpublic Graphics2D getG2D()
public void setLineWidth(float width)
setLineWidth in class GEnginepublic float getStringPixelWidth(Font font, String s)
getStringPixelWidth in class GEnginepublic void drawLine(float x0,
float y0,
float x1,
float y1)
public void drawArc(float x,
float y,
float w,
float h,
int a0,
int a1)
public void drawCircle(float x,
float y,
float r)
drawCircle in class GEnginepublic void drawRect(float x,
float y,
float dx,
float dy)
public void drawRoundRect(float x,
float y,
float dx,
float dy,
float arc_dx,
float arc_dy)
drawRoundRect in class GEnginepublic void drawOval(float x,
float y,
float dx,
float dy)
public void fillRect(float x,
float y,
float dx,
float dy)
public void fillOval(float x,
float y,
float dx,
float dy)
public void fillCircle(float x,
float y,
float r)
fillCircle in class GEnginepublic void drawRightArrow(float ox,
float oy,
float w,
float h)
drawRightArrow in class GEnginepublic void drawUpArrow(float ox,
float oy,
float w,
float h)
drawUpArrow in class GEnginepublic void drawDownArrow(float ox,
float oy,
float w,
float h)
drawDownArrow in class GEnginepublic void drawString(Font font, String s, float x, float y, int align)
drawString in class GEnginepublic void drawSpline(float x0,
float y0,
float x1,
float y1,
float startOffset,
float endOffset,
float flateness,
boolean arrow)
drawSpline in class GEnginepublic void drawArcConnector(float x0,
float y0,
float x1,
float y1,
float start_offset,
float end_offset,
float ctrl_offset,
float arc_offset,
boolean arrow)
drawArcConnector in class GEngineCopyright © 2013. All rights reserved.