Package hoverball.debug
Class Text
java.lang.Object
hoverball.debug.Debug
hoverball.debug.Text
public class Text extends Debug
Plots a text.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Text(Vector p, java.lang.String text)
Creates a Text debug.Text(Vector p, java.lang.String text, double line)
Creates a Text debug with line number.Text(Vector p, java.lang.String text, double line, int align)
Creates a Text debug with line number and horizontal alignment. -
Method Summary
-
Constructor Details
-
Text
Creates a Text debug.- Parameters:
p
- positiontext
- text
-
Text
Creates a Text debug with line number.The line number shifts the text upward and downward independently of the perspective. It is thus possible to output a multiple line comment without any distorting by perspective.
- Parameters:
p
- positiontext
- textline
- line
-
Text
Creates a Text debug with line number and horizontal alignment.The line number shifts the text upward and downward independently of the perspective. It is thus possible to output a multiple line comment without any distorting by perspective.
With alignment values x < 0 the text is right justified, x = 0 centers, and x > 0 outputs left justified.
- Parameters:
p
- positiontext
- textline
- linealign
- alignment
-
-
Method Details