public class CircularGraphics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
screenCentreX |
int |
screenCentreY |
int |
screenRadius |
Constructor and Description |
---|
CircularGraphics(java.awt.Graphics g,
double worldAngle,
double worldRadius,
int screenX,
int screenY,
int screenWidth,
int screenHeight) |
CircularGraphics(java.awt.Graphics g,
double worldAngle,
double worldRadius,
int screenX,
int screenY,
int screenWidth,
int screenHeight,
boolean invertY) |
Modifier and Type | Method and Description |
---|---|
void |
circleString(java.lang.String s,
double angle,
double radius,
int outdent) |
void |
drawArc(double angleStart,
double angleEnd,
double radius)
For drawing arbitary lines
|
void |
drawLine(double angle,
double radiusStart,
double radiusEnd)
For drawing arbitary lines
|
void |
drawLine(double angle1,
double radius1,
double angle2,
double radius2)
For drawing arbitary lines
|
void |
drawLineDegreeAlign(double angle,
double radiusStart,
double radiusEnd)
For drawing arbitary lines
|
void |
drawPoint(double angle,
double radius,
int size) |
void |
drawString(java.lang.String s,
double angle,
double radius) |
void |
drawString(java.lang.String s,
double angle,
double radius,
int outdent) |
void |
drawSymbol(double angle,
double radius,
int outdent,
int width,
int symbol) |
void |
fillPoint(double angle,
double radius,
int size) |
int |
getScreenDeltaX(double angle,
double radius) |
int |
getScreenDeltaY(double angle,
double radius) |
int |
getScreenX(double angle,
double radius) |
int |
getScreenX(double angle,
double radius,
int outdent) |
int |
getScreenY(double angle,
double radius) |
int |
getScreenY(double angle,
double radius,
int outdent) |
void |
setColor(java.awt.Color c) |
void |
setFont(java.awt.Font newFont) |
public int screenCentreX
public int screenCentreY
public int screenRadius
public CircularGraphics(java.awt.Graphics g, double worldAngle, double worldRadius, int screenX, int screenY, int screenWidth, int screenHeight)
public CircularGraphics(java.awt.Graphics g, double worldAngle, double worldRadius, int screenX, int screenY, int screenWidth, int screenHeight, boolean invertY)
public void setFont(java.awt.Font newFont)
public void drawLine(double angle1, double radius1, double angle2, double radius2)
public void drawLine(double angle, double radiusStart, double radiusEnd)
public void drawLineDegreeAlign(double angle, double radiusStart, double radiusEnd)
public void drawArc(double angleStart, double angleEnd, double radius)
public void setColor(java.awt.Color c)
public void drawString(java.lang.String s, double angle, double radius)
public void drawString(java.lang.String s, double angle, double radius, int outdent)
public void circleString(java.lang.String s, double angle, double radius, int outdent)
public int getScreenX(double angle, double radius)
public int getScreenX(double angle, double radius, int outdent)
public int getScreenDeltaX(double angle, double radius)
public int getScreenY(double angle, double radius)
public int getScreenY(double angle, double radius, int outdent)
public int getScreenDeltaY(double angle, double radius)
public void fillPoint(double angle, double radius, int size)
public void drawPoint(double angle, double radius, int size)
public void drawSymbol(double angle, double radius, int outdent, int width, int symbol)