1 19 20 package swingwt.awt.font; 21 22 import swingwt.awt.geom.Rectangle2D; 23 24 public final class GlyphMetrics { 25 26 public static final byte STANDARD = 0; 27 public static final byte LIGATURE = 1; 28 public static final byte COMBINING = 2; 29 public static final byte COMPONENT = 3; 30 public static final byte WHITESPACE = 4; 31 32 public GlyphMetrics(float advance, Rectangle2D bounds, byte glyphType) { 33 34 } 35 public GlyphMetrics(boolean horizontal, float advanceX, float advanceY, 36 Rectangle2D bounds, byte glyphType) { 37 38 } 39 public float getAdvance() { 40 return 0; 41 } 42 public float getAdvanceX() { 43 return 0; 44 } 45 public float getAdvanceY() { 46 return 0; 47 } 48 public Rectangle2D getBounds2D() { 49 return null; 50 } 51 public float getLSB() { 52 return 0; 53 } 54 public float getRSB() { 55 return 0; 56 } 57 public int getType() { 58 return 0; 59 } 60 public boolean isStandard() { 61 return true; 62 } 63 public boolean isLigature() { 64 return false; 65 } 66 public boolean isCombining() { 67 return false; 68 } 69 public boolean isComponent() { 70 return false; 71 } 72 public boolean isWhitespace() { 73 return false; 74 } 75 } 76 77 78 | Popular Tags |