Package | Description |
---|---|
fr.lri.swingstates.canvas |
A package to program new widgets starting from the SwingStates' canvas that offers advanced features for programming interaction (state machines, tags, etc.).
|
Modifier and Type | Method and Description |
---|---|
CText |
CShape.asText() |
CText |
Canvas.newText(double x,
double y,
java.lang.String text)
Create a new text and add it to the canvas.
|
CText |
Canvas.newText(double x,
double y,
java.lang.String text,
java.awt.Font font)
Create a new text and add it to the canvas.
|
CText |
Canvas.newText(java.awt.geom.Point2D p,
java.lang.String text)
Create a new text and add it to the canvas.
|
CText |
Canvas.newText(java.awt.geom.Point2D p,
java.lang.String text,
java.awt.Font font)
Create a new text and add it to the canvas.
|
CText |
CText.setFont(java.awt.Font f)
Sets the text font.
|
CText |
CText.setReferencePointToBaseline()
Sets the reference point of this
CText
to its baseline. |
CText |
CText.setText(java.lang.String text)
Sets the text to be displayed.
|