| Package | Description |
|---|---|
| visad |
The core VisAD package, providing support for VisAD's Data & MathType
hierarchy, as well as for VisAD Displays and remote collaboration.
|
| visad.bom.annotations |
| Modifier and Type | Field and Description |
|---|---|
static TextControl.Justification |
TextControl.Justification.BOTTOM
Predefined value for bottom justification
|
static TextControl.Justification |
TextControl.Justification.CENTER
Predefined value for center justification
|
static TextControl.Justification |
TextControl.Justification.LEFT
Predefined value for left justification
|
static TextControl.Justification |
TextControl.Justification.RIGHT
Predefined value for right justification
|
static TextControl.Justification |
TextControl.Justification.TOP
Predefined value for top justification
|
| Modifier and Type | Method and Description |
|---|---|
TextControl.Justification |
TextControl.getJustification()
Return the justification value
|
TextControl.Justification |
TextControl.getVerticalJustification()
Return the vertical justification value
|
| Modifier and Type | Method and Description |
|---|---|
static VisADTriangleArray |
PlotText.render_font(java.lang.String str,
java.awt.Font font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification)
Convert a string of characters (ASCII collating sequence) into a
series of triangles for drawing.
|
static VisADTriangleArray |
PlotText.render_font(java.lang.String str,
java.awt.Font font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
double characRotation)
Convert a string of characters (ASCII collating sequence) into a
series of triangles for drawing.
|
static VisADTriangleArray |
PlotText.render_font(java.lang.String str,
java.awt.Font font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
TextControl.Justification verticalJustification)
Convert a string of characters (ASCII collating sequence) into a
series of triangles for drawing.
|
static VisADTriangleArray |
PlotText.render_font(java.lang.String str,
java.awt.Font font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
TextControl.Justification verticalJustification,
double characRotation,
double scale,
double[] offsets)
Convert a string of characters (ASCII collating sequence) into a
series of triangles for drawing.
|
static VisADLineArray |
PlotText.render_font(java.lang.String str,
HersheyFont font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification)
Convert a string of characters (ASCII collating sequence) into a
series of lines for drawing.
|
static VisADLineArray |
PlotText.render_font(java.lang.String str,
HersheyFont font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
double characRotation)
Convert a string of characters (ASCII collating sequence) into a
series of lines for drawing.
|
static VisADLineArray |
PlotText.render_font(java.lang.String str,
HersheyFont font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
TextControl.Justification verticalJustification)
Convert a string of characters (ASCII collating sequence) into a
series of lines for drawing.
|
static VisADLineArray |
PlotText.render_font(java.lang.String str,
HersheyFont font,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
TextControl.Justification verticalJustification,
double characRotation,
double scale,
double[] offsets)
Convert a string of characters (ASCII collating sequence) into a
series of lines for drawing.
|
static VisADLineArray |
PlotText.render_label(java.lang.String str,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification)
Convert a string of characters (ASCII collating sequence) into a
series of vectors for drawing.
|
static VisADLineArray |
PlotText.render_label(java.lang.String str,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
double characRotation)
Convert a string of characters (ASCII collating sequence) into a
series of vectors for drawing.
|
static VisADLineArray |
PlotText.render_label(java.lang.String str,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
TextControl.Justification verticalJustification)
Convert a string of characters (ASCII collating sequence) into a
series of vectors for drawing.
|
static VisADLineArray |
PlotText.render_label(java.lang.String str,
double[] start,
double[] base,
double[] up,
TextControl.Justification justification,
TextControl.Justification verticalJustification,
double characRotation,
double scale,
double[] offsets)
Convert a string of characters (ASCII collating sequence) into a
series of vectors for drawing.
|
void |
TextControl.setJustification(TextControl.Justification newJustification)
Set the justification flag
Possible values are TextControl.Justification.LEFT,
TextControl.Justification.CENTER and TextControl.Justification.RIGHT
|
void |
TextControl.setVerticalJustification(TextControl.Justification newJustification)
Set the vertical justification flag
Possible values are TextControl.Justification.TOP,
TextControl.Justification.CENTER and TextControl.Justification.BOTTOM
|
| Modifier and Type | Method and Description |
|---|---|
static javax.media.j3d.Shape3D |
ScreenAnnotatorUtils.makeLabelShape3D(DisplayImplJ3D display,
java.lang.String text,
int x,
int y,
float[] colour,
java.awt.Font font,
HersheyFont hfont,
double zValue,
double scaleFactor,
boolean filled,
double thickness,
double orientation,
TextControl.Justification horizontal,
TextControl.Justification vertical,
double charRotation)
Construct a
Shape3D object from a routine description
of a Label using 2D fonts. |
void |
LabelJ3D.setHorizontalJustification(TextControl.Justification justification)
Set the horizontal justification of the text.
|
void |
LabelJ3D.setVerticalJustification(TextControl.Justification justification)
Set the vertical justification of the text.
|
| Constructor and Description |
|---|
LabelJ3D(java.lang.String text,
int xLocation,
int yLocation,
float[] colour,
java.awt.Font font,
HersheyFont hfont,
double zValue,
double fontSizeInPixels,
boolean filled,
double thickness,
double orientation,
TextControl.Justification horizontalJustification,
TextControl.Justification verticalJustification,
double charRotation)
Constructor for LabelJ3D.
|
LabelJ3D(java.lang.String text,
int xLocation,
int yLocation,
float[] colour,
java.awt.Font font,
HersheyFont hfont,
double zValue,
double fontSizeInPixels,
boolean filled,
double thickness,
TextControl.Justification horizontalJustification,
TextControl.Justification verticalJustification)
Constructor for a filled or unfilled font.
|
LabelJ3D(java.lang.String text,
int xLocation,
int yLocation,
float[] colour,
java.awt.Font font,
HersheyFont hfont,
double zValue,
double fontSizeInPixels,
TextControl.Justification horizontalJustification,
TextControl.Justification verticalJustification)
Constructor for a filled font.
|