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