moebiusViewer
Class AbstractDrawer
java.lang.Object
moebiusViewer.MoebiusGraphics
moebiusViewer.MoebiusGraphicsWithPrimitives
moebiusViewer.AbstractDrawer
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- MoebiusDrawer
- public abstract class AbstractDrawer
- extends MoebiusGraphicsWithPrimitives
- See Also:
- Serialized Form
|
Method Summary |
void |
draw(java.awt.Graphics G,
MoebiusShape aShape)
|
void |
draw(java.awt.Graphics G,
MoebiusTool aTool)
|
void |
drawArc(double x,
double y,
double radius,
double startAngle,
double arcAngle)
|
void |
drawCircle(double x,
double y,
double radius)
|
void |
drawColor(java.awt.Color color)
|
void |
drawLine(double x1,
double y1,
double x2,
double y2)
|
void |
drawString(java.lang.String str,
double x,
double y)
|
void |
fillCircle(double x,
double y,
double radius)
|
void |
fillColor(java.awt.Color color)
|
void |
fillPolygon(double[] xPoints,
double[] yPoints,
int nPoints)
|
AbstractPSWriter |
getPSWriter()
|
| Methods inherited from class moebiusViewer.MoebiusGraphics |
arc, arc, circle, circle, clear, clone, getAttributes, getColor, getFilled, getFont, getGraphics, getHorizontalTextLayout, getLineWidth, getPointColor, getPointOutline, getPointRadius, getShapeStack, getSize, getTransform, getTransformStack, getUsePointColor, getVerticalTextLayout, line, line, lineSeg, lineSeg, lineSeg, point, point, point, popShape, popTransform, push, push, setAttributes, setColor, setFilled, setFont, setGraphics, setHorizontalTextLayout, setLineWidth, setPointColor, setPointOutline, setPointRadius, setSize, setTransformStack, setUsePointColor, setVerticalTextLayout, text, text, text |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDrawer
public AbstractDrawer()
getPSWriter
public AbstractPSWriter getPSWriter()
draw
public void draw(java.awt.Graphics G,
MoebiusShape aShape)
draw
public void draw(java.awt.Graphics G,
MoebiusTool aTool)
drawColor
public void drawColor(java.awt.Color color)
- Specified by:
drawColor in class MoebiusGraphicsWithPrimitives
drawCircle
public void drawCircle(double x,
double y,
double radius)
- Specified by:
drawCircle in class MoebiusGraphicsWithPrimitives
drawLine
public void drawLine(double x1,
double y1,
double x2,
double y2)
- Specified by:
drawLine in class MoebiusGraphicsWithPrimitives
drawArc
public void drawArc(double x,
double y,
double radius,
double startAngle,
double arcAngle)
- Specified by:
drawArc in class MoebiusGraphicsWithPrimitives
drawString
public void drawString(java.lang.String str,
double x,
double y)
- Specified by:
drawString in class MoebiusGraphicsWithPrimitives
fillColor
public void fillColor(java.awt.Color color)
- Specified by:
fillColor in class MoebiusGraphicsWithPrimitives
fillCircle
public void fillCircle(double x,
double y,
double radius)
- Specified by:
fillCircle in class MoebiusGraphicsWithPrimitives
fillPolygon
public void fillPolygon(double[] xPoints,
double[] yPoints,
int nPoints)
- Specified by:
fillPolygon in class MoebiusGraphicsWithPrimitives