public abstract class AbstractDrawer extends MoebiusGraphicsWithPrimitives
attributes, size, transform
Constructor and Description |
---|
AbstractDrawer() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics G,
MoebiusShape aShape) |
void |
draw(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(Color color) |
void |
drawLine(double x1,
double y1,
double x2,
double y2) |
void |
drawString(String s,
double x,
double y) |
void |
fillCircle(double x,
double y,
double radius) |
void |
fillColor(Color color) |
void |
fillPolygon(double[] xPoints,
double[] yPoints,
int nPoints) |
AbstractPSWriter |
getPSWriter() |
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
public void draw(Graphics G, MoebiusShape aShape)
public void draw(Graphics G, MoebiusTool aTool)
public void drawArc(double x, double y, double radius, double startAngle, double arcAngle)
drawArc
in class MoebiusGraphicsWithPrimitives
public void drawCircle(double x, double y, double radius)
drawCircle
in class MoebiusGraphicsWithPrimitives
public void drawColor(Color color)
drawColor
in class MoebiusGraphicsWithPrimitives
public void drawLine(double x1, double y1, double x2, double y2)
drawLine
in class MoebiusGraphicsWithPrimitives
public void drawString(String s, double x, double y)
drawString
in class MoebiusGraphicsWithPrimitives
public void fillCircle(double x, double y, double radius)
fillCircle
in class MoebiusGraphicsWithPrimitives
public void fillColor(Color color)
fillColor
in class MoebiusGraphicsWithPrimitives
public void fillPolygon(double[] xPoints, double[] yPoints, int nPoints)
fillPolygon
in class MoebiusGraphicsWithPrimitives
public AbstractPSWriter getPSWriter()