public class Text extends AbstractShape
EPS, EPSSQR, moebiusShapeChangeSupport, propertyChangeSupport, toolList
Modifier and Type | Method and Description |
---|---|
void |
draw(MoebiusGraphics context) |
Font |
getFont() |
Color |
getFontColor() |
int |
getHorizontalTextLayout() |
int |
getVerticalTextLayout() |
double |
getX() |
double |
getY() |
void |
setFont(Font f) |
void |
setFontColor(Color c) |
void |
setHorizontalTextLayout(int aNum) |
void |
setVerticalTextLayout(int aNum) |
void |
setX(double v) |
void |
setY(double v) |
addMoebiusShapeChangeListener, addPropertyChangeListener, clone, dontFirePropertyChange, equals, fireMoebiusShapeChange, fireMoebiusShapeChange, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removeMoebiusShapeChangeListener, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel
public Text()
public Text(String aLabel)
public void draw(MoebiusGraphics context)
draw
in interface MoebiusShape
draw
in class AbstractShape
public Font getFont()
public Color getFontColor()
public int getHorizontalTextLayout()
public int getVerticalTextLayout()
public double getX()
public double getY()
public void setFont(Font f)
public void setFontColor(Color c)
public void setHorizontalTextLayout(int aNum)
public void setVerticalTextLayout(int aNum)
public void setX(double v)
public void setY(double v)