g2d.glyph
Class SubTextGlyph
java.lang.Object
g2d.glyph.Identifiable
g2d.glyph.Attributable
g2d.glyph.Glyphish
g2d.glyph.GlyphList
g2d.glyph.SubTextGlyph
- All Implemented Interfaces:
- KeyListener, MouseListener, MouseMotionListener, EventListener
public class SubTextGlyph
- extends GlyphList
Antialiased text with subscript and supscript support.
- Since:
- August 2004
- Author:
- Ben Funnell
| Methods inherited from class g2d.glyph.GlyphList |
add, add, clear, contains, getBounds, getGlyphThing, getListIterator, inside, intersects, length, paint, remove, transform |
| Methods inherited from class g2d.glyph.Glyphish |
keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, rotate, rotate, scale, setKeyAction, setMouseAction, shear, translate, unsetMouseAction |
| Methods inherited from class g2d.glyph.Attributable |
_getAttribute, _setAttribute, getAttribute, getAttributeAsBoolean, getAttributeAsByte, getAttributeAsChar, getAttributeAsDouble, getAttributeAsFloat, getAttributeAsInt, getAttributeAsShort, getAttributeAsString, getKeys, getStaticAttribute, getStaticKeys, isAttribute, isStaticAttribute, removeAllAttributes, removeAllStaticAttributes, removeAttribute, removeStaticAttribute, setAttribute, setStaticAttribute, showAttributes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubTextGlyph
public SubTextGlyph(String text)
SubTextGlyph
public SubTextGlyph(String text,
int size)
SubTextGlyph
public SubTextGlyph(String text,
int size,
String font)
setFont
public void setFont(String font)
setSize
public void setSize(int size)
sub
public void sub(String text,
int size,
String type)
alignCenter
public void alignCenter(Rectangle2D bounds)
alignLeft
public void alignLeft(Rectangle2D bounds)
alignToRight
public void alignToRight(Rectangle2D bounds)
alignRight
public void alignRight(Rectangle2D bounds)
alignToLeft
public void alignToLeft(Rectangle2D bounds)
alignTop
public void alignTop(Rectangle2D bounds)
alignOnTop
public void alignOnTop(Rectangle2D bounds)
alignBottom
public void alignBottom(Rectangle2D bounds)
alignUnder
public void alignUnder(Rectangle2D bounds)
alignToPoint
public void alignToPoint(Point2D point)
main
public static void main(String[] args)