1 19 20 package swingwt.awt.font; 21 22 public class GlyphJustificationInfo { 23 24 public static final int PRIORITY_KASHIDA = 0; 25 public static final int PRIORITY_WHITESPACE = 1; 26 public static final int PRIORITY_INTERCHAR = 2; 27 public static final int PRIORITY_NONE = 3; 28 public float weight; 29 public int growPriority; 30 public boolean growAbsorb; 31 public float growLeftLimit; 32 public float growRightLimit; 33 public int shrinkPriority; 34 public boolean shrinkAbsorb; 35 public float shrinkLeftLimit; 36 public float shrinkRightLimit; 37 38 public GlyphJustificationInfo(float weight, 39 boolean growAbsorb, 40 int growPriority, 41 float growLeftLimit, 42 float growRightLimit, 43 boolean shrinkAbsorb, 44 int shrinkPriority, 45 float shrinkLeftLimit, 46 float shrinkRightLimit) 47 { 48 this.weight = weight; 49 this.growAbsorb = growAbsorb; 50 this.growPriority = growPriority; 51 this.growLeftLimit = growLeftLimit; 52 this.growRightLimit = growRightLimit; 53 this.shrinkAbsorb = shrinkAbsorb; 54 this.shrinkPriority = shrinkPriority; 55 this.shrinkLeftLimit = shrinkLeftLimit; 56 this.shrinkRightLimit = shrinkRightLimit; 57 } 58 } 59 | Popular Tags |