< prev index next >

src/java.desktop/share/classes/java/awt/font/GlyphJustificationInfo.java

Print this page

        

*** 38,53 **** */ package java.awt.font; /** ! * The <code>GlyphJustificationInfo</code> class represents information * about the justification properties of a glyph. A glyph is the visual * representation of one or more characters. Many different glyphs can * be used to represent a single character or combination of characters. * The four justification properties represented by ! * <code>GlyphJustificationInfo</code> are weight, priority, absorb and * limit. * <p> * Weight is the overall 'weight' of the glyph in the line. Generally it is * proportional to the size of the font. Glyphs with larger weight are * allocated a correspondingly larger amount of the change in space. --- 38,53 ---- */ package java.awt.font; /** ! * The {@code GlyphJustificationInfo} class represents information * about the justification properties of a glyph. A glyph is the visual * representation of one or more characters. Many different glyphs can * be used to represent a single character or combination of characters. * The four justification properties represented by ! * {@code GlyphJustificationInfo} are weight, priority, absorb and * limit. * <p> * Weight is the overall 'weight' of the glyph in the line. Generally it is * proportional to the size of the font. Glyphs with larger weight are * allocated a correspondingly larger amount of the change in space.
*** 65,75 **** * these glyphs are present, no glyphs of later priority are examined. * <p> * Limit determines the maximum or minimum amount by which the glyph can * change. Left and right sides of the glyph can have different limits. * <p> ! * Each <code>GlyphJustificationInfo</code> represents two sets of * metrics, which are <i>growing</i> and <i>shrinking</i>. Growing * metrics are used when the glyphs on a line are to be * spread apart to fit a larger width. Shrinking metrics are used when * the glyphs are to be moved together to fit a smaller width. */ --- 65,75 ---- * these glyphs are present, no glyphs of later priority are examined. * <p> * Limit determines the maximum or minimum amount by which the glyph can * change. Left and right sides of the glyph can have different limits. * <p> ! * Each {@code GlyphJustificationInfo} represents two sets of * metrics, which are <i>growing</i> and <i>shrinking</i>. Growing * metrics are used when the glyphs on a line are to be * spread apart to fit a larger width. Shrinking metrics are used when * the glyphs are to be moved together to fit a smaller width. */
*** 78,97 **** /** * Constructs information about the justification properties of a * glyph. * @param weight the weight of this glyph when allocating space. Must be non-negative. ! * @param growAbsorb if <code>true</code> this glyph absorbs * all extra space at this priority and lower priority levels when it * grows * @param growPriority the priority level of this glyph when it * grows * @param growLeftLimit the maximum amount by which the left side of this * glyph can grow. Must be non-negative. * @param growRightLimit the maximum amount by which the right side of this * glyph can grow. Must be non-negative. ! * @param shrinkAbsorb if <code>true</code>, this glyph absorbs all * remaining shrinkage at this and lower priority levels when it * shrinks * @param shrinkPriority the priority level of this glyph when * it shrinks * @param shrinkLeftLimit the maximum amount by which the left side of this --- 78,97 ---- /** * Constructs information about the justification properties of a * glyph. * @param weight the weight of this glyph when allocating space. Must be non-negative. ! * @param growAbsorb if {@code true} this glyph absorbs * all extra space at this priority and lower priority levels when it * grows * @param growPriority the priority level of this glyph when it * grows * @param growLeftLimit the maximum amount by which the left side of this * glyph can grow. Must be non-negative. * @param growRightLimit the maximum amount by which the right side of this * glyph can grow. Must be non-negative. ! * @param shrinkAbsorb if {@code true}, this glyph absorbs all * remaining shrinkage at this and lower priority levels when it * shrinks * @param shrinkPriority the priority level of this glyph when * it shrinks * @param shrinkLeftLimit the maximum amount by which the left side of this
*** 170,180 **** * The priority level of this glyph as it is growing. */ public final int growPriority; /** ! * If <code>true</code>, this glyph absorbs all extra * space at this and lower priority levels when it grows. */ public final boolean growAbsorb; /** --- 170,180 ---- * The priority level of this glyph as it is growing. */ public final int growPriority; /** ! * If {@code true}, this glyph absorbs all extra * space at this and lower priority levels when it grows. */ public final boolean growAbsorb; /**
*** 191,201 **** * The priority level of this glyph as it is shrinking. */ public final int shrinkPriority; /** ! * If <code>true</code>,this glyph absorbs all remaining shrinkage at * this and lower priority levels as it shrinks. */ public final boolean shrinkAbsorb; /** --- 191,201 ---- * The priority level of this glyph as it is shrinking. */ public final int shrinkPriority; /** ! * If {@code true},this glyph absorbs all remaining shrinkage at * this and lower priority levels as it shrinks. */ public final boolean shrinkAbsorb; /**
< prev index next >