org.jmol.shape
Class Frank
java.lang.Object
org.jmol.shape.Shape
org.jmol.shape.FontShape
org.jmol.shape.Frank
public class Frank
- extends FontShape
Constructor Summary |
Frank()
|
Methods inherited from class org.jmol.shape.Shape |
appendCmd, checkBoundsMinMax, checkObjectClicked, checkObjectDragged, coordinateInRange, encodeColor, findNearestAtomIndex, getColix, getColorCommand, getColorCommand, getFontCommand, getIndexFromName, getProperty, getProperty, getShapeCommands, getShapeCommands, getShapeDetail, getSize, getSize, getViewer, initializeShape, initModelSet, merge, setColix, setColix, setColix, setModelClickability, setModelSet, setShapeProperty, setShapeSize, setSize, setSize, setStateInfo, setStateInfo, setVisibilityFlags |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultFontName
static final java.lang.String defaultFontName
- See Also:
- Constant Field Values
defaultFontStyle
static final java.lang.String defaultFontStyle
- See Also:
- Constant Field Values
defaultFontSize
static final int defaultFontSize
- See Also:
- Constant Field Values
frankMargin
static final int frankMargin
- See Also:
- Constant Field Values
frankString
java.lang.String frankString
currentMetricsFont3d
Font3D currentMetricsFont3d
baseFont3d
Font3D baseFont3d
frankWidth
int frankWidth
frankAscent
int frankAscent
frankDescent
int frankDescent
x
int x
y
int y
dx
int dx
dy
int dy
Frank
public Frank()
initShape
public void initShape()
- Overrides:
initShape
in class FontShape
wasClicked
public boolean wasClicked(int x,
int y)
- Overrides:
wasClicked
in class Shape
checkObjectHovered
public boolean checkObjectHovered(int x,
int y,
java.util.BitSet bsVisible)
- Overrides:
checkObjectHovered
in class Shape
calcMetrics
void calcMetrics()
getFont
void getFont(float imageFontScaling)