moebiusViewer
Class MoebiusGraphics
java.lang.Object
moebiusViewer.MoebiusGraphics
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- AbstractBounder, AbstractPicker, MoebiusGraphicsWithPrimitives, RenderTreeInfo
- public abstract class MoebiusGraphics
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
|
Method Summary |
abstract void |
arc(ComplexProjective1 z1,
ComplexProjective1 z2,
ComplexProjective1 z3)
|
void |
arc(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
|
void |
circle(double x,
double y,
double r)
|
abstract void |
circle(HermitianCircle c)
|
void |
clear()
|
java.lang.Object |
clone()
|
Attributes |
getAttributes()
|
java.awt.Color |
getColor()
|
boolean |
getFilled()
|
java.awt.Font |
getFont()
|
java.awt.Graphics |
getGraphics()
|
int |
getHorizontalTextLayout()
|
double |
getLineWidth()
|
java.awt.Color |
getPointColor()
|
int |
getPointOutline()
|
int |
getPointRadius()
|
MoebiusShapeStack |
getShapeStack()
|
java.awt.Dimension |
getSize()
|
MoebiusTransform |
getTransform()
|
MoebiusTransformStack |
getTransformStack()
|
boolean |
getUsePointColor()
|
int |
getVerticalTextLayout()
|
void |
line(double x1,
double y1,
double x2,
double y2)
|
void |
line(double aR1,
double aI1,
double bR1,
double bI1,
double aR2,
double aI2,
double bR2,
double bI2)
|
abstract void |
lineSeg(ComplexProjective1 z1,
ComplexProjective1 z2)
|
void |
lineSeg(double x1,
double y1,
double x2,
double y2)
|
void |
lineSeg(double aR1,
double aI1,
double bR1,
double bI1,
double aR2,
double aI2,
double bR2,
double bI2)
|
abstract void |
point(ComplexProjective1 z)
|
void |
point(double x,
double y)
|
void |
point(double aRe,
double aIm,
double bRe,
double bIm)
|
MoebiusShape |
popShape()
|
MoebiusTransform |
popTransform()
|
MoebiusShape |
push(MoebiusShape aShape)
|
MoebiusTransform |
push(MoebiusTransform T)
|
void |
setAttributes(Attributes v)
|
void |
setColor(java.awt.Color v)
|
void |
setFilled(boolean v)
|
void |
setFont(java.awt.Font f)
|
void |
setGraphics(java.awt.Graphics v)
|
void |
setHorizontalTextLayout(int aNum)
|
void |
setLineWidth(double v)
|
void |
setPointColor(java.awt.Color v)
|
void |
setPointOutline(int v)
|
void |
setPointRadius(int v)
|
void |
setSize(java.awt.Dimension d)
|
void |
setTransformStack(MoebiusTransformStack v)
|
void |
setUsePointColor(boolean v)
|
void |
setVerticalTextLayout(int aNum)
|
abstract void |
text(ComplexProjective1 z,
java.lang.String s)
|
void |
text(double aRe,
double aIm,
double bRe,
double bIm,
java.lang.String str)
|
void |
text(double x,
double y,
java.lang.String str)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributes
protected Attributes attributes
size
protected java.awt.Dimension size
transform
protected MoebiusTransform transform
MoebiusGraphics
public MoebiusGraphics()
MoebiusGraphics
public MoebiusGraphics(Attributes v)
point
public abstract void point(ComplexProjective1 z)
circle
public abstract void circle(HermitianCircle c)
arc
public abstract void arc(ComplexProjective1 z1,
ComplexProjective1 z2,
ComplexProjective1 z3)
lineSeg
public abstract void lineSeg(ComplexProjective1 z1,
ComplexProjective1 z2)
text
public abstract void text(ComplexProjective1 z,
java.lang.String s)
getAttributes
public Attributes getAttributes()
setAttributes
public void setAttributes(Attributes v)
getSize
public java.awt.Dimension getSize()
setSize
public void setSize(java.awt.Dimension d)
getGraphics
public java.awt.Graphics getGraphics()
setGraphics
public void setGraphics(java.awt.Graphics v)
clone
public java.lang.Object clone()
clear
public void clear()
popTransform
public MoebiusTransform popTransform()
push
public MoebiusTransform push(MoebiusTransform T)
getTransform
public final MoebiusTransform getTransform()
getTransformStack
public final MoebiusTransformStack getTransformStack()
setTransformStack
public void setTransformStack(MoebiusTransformStack v)
getShapeStack
public MoebiusShapeStack getShapeStack()
push
public MoebiusShape push(MoebiusShape aShape)
popShape
public MoebiusShape popShape()
getHorizontalTextLayout
public int getHorizontalTextLayout()
setHorizontalTextLayout
public void setHorizontalTextLayout(int aNum)
getVerticalTextLayout
public int getVerticalTextLayout()
setVerticalTextLayout
public void setVerticalTextLayout(int aNum)
getFont
public java.awt.Font getFont()
setFont
public void setFont(java.awt.Font f)
getColor
public java.awt.Color getColor()
setColor
public void setColor(java.awt.Color v)
getPointColor
public java.awt.Color getPointColor()
setPointColor
public void setPointColor(java.awt.Color v)
getPointRadius
public int getPointRadius()
setPointRadius
public void setPointRadius(int v)
getLineWidth
public double getLineWidth()
setLineWidth
public void setLineWidth(double v)
getPointOutline
public int getPointOutline()
setPointOutline
public void setPointOutline(int v)
getFilled
public boolean getFilled()
setFilled
public void setFilled(boolean v)
getUsePointColor
public boolean getUsePointColor()
setUsePointColor
public void setUsePointColor(boolean v)
point
public void point(double x,
double y)
point
public void point(double aRe,
double aIm,
double bRe,
double bIm)
text
public void text(double x,
double y,
java.lang.String str)
text
public void text(double aRe,
double aIm,
double bRe,
double bIm,
java.lang.String str)
circle
public void circle(double x,
double y,
double r)
arc
public void arc(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
line
public void line(double x1,
double y1,
double x2,
double y2)
line
public void line(double aR1,
double aI1,
double bR1,
double bI1,
double aR2,
double aI2,
double bR2,
double bI2)
lineSeg
public void lineSeg(double x1,
double y1,
double x2,
double y2)
lineSeg
public void lineSeg(double aR1,
double aI1,
double bR1,
double bI1,
double aR2,
double aI2,
double bR2,
double bI2)