dasher.applet
Class DasherFont

java.lang.Object
  extended by dasher.applet.DasherFont

 class DasherFont
extends java.lang.Object

Small struct representing a Font and detailing both its size and the offset required to draw it using top-left co-ordinates as opposed to Java's baseline co-ordinates.


Field Summary
(package private)  int drawOffset
          Vertical offset from baseline to top-left corner in this font
(package private)  java.awt.Font font
          Font
(package private)  int size
          Font size
 
Constructor Summary
DasherFont(java.awt.Font i_Font, int i_drawOffset, int iSize)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

java.awt.Font font
Font


drawOffset

int drawOffset
Vertical offset from baseline to top-left corner in this font


size

int size
Font size

Constructor Detail

DasherFont

public DasherFont(java.awt.Font i_Font,
                  int i_drawOffset,
                  int iSize)