public class Text extends HShape
| Constructor and Description |
|---|
Text(java.lang.String text,
double X1,
double Y1)
Create a TEXT object
|
Text(java.lang.String text,
double X1,
double Y1,
java.awt.Font f,
java.awt.Color color)
Create a TEXT object
|
| Modifier and Type | Method and Description |
|---|---|
void |
doc()
Show online documentation.
|
java.awt.Font |
getFont()
Get the font
|
java.lang.String |
getText()
Get a string with the text.
|
void |
setFont(java.awt.Font f)
Set the font for this text.
|
void |
setText(java.lang.String text)
Set a string with the text
|
java.lang.String |
toString()
Show this object
|
contains, getColor, getFill, getPosition, getPositionCoordinate, getRotation, getScaledPosition, getSettings, getStroke, getTransparency, getWhoAm, setColor, setDashed, setDotted, setFill, setPosCoord, setPositionCoordinate, setRotation, setStroke, setTransparency, setWhoAm, updateSettingspublic Text(java.lang.String text,
double X1,
double Y1,
java.awt.Font f,
java.awt.Color color)
text - TextX1 - X positionY1 - Y positionf - Fontcolor - Colorpublic Text(java.lang.String text,
double X1,
double Y1)
text - TextX1 - X positionY1 - Y positionpublic java.awt.Font getFont()
public void setFont(java.awt.Font f)
f - Font to be setpublic java.lang.String getText()
public void setText(java.lang.String text)
text - Test to be insertedpublic java.lang.String toString()
toString in class java.lang.Objectpublic void doc()
JHepSim. A part of HSTOOLS. version-1.2