| java.lang.Object java.awt.font.TextJustifier
TextJustifier | class TextJustifier (Code) | | |
Method Summary | |
public float[] | justify(float delta) Return an array of deltas twice as long as the original info array,
indicating the amount by which each side of each glyph should grow
or shrink. |
DEBUG | static boolean DEBUG(Code) | | |
MAX_PRIORITY | final public static int MAX_PRIORITY(Code) | | |
TextJustifier | TextJustifier(GlyphJustificationInfo[] info, int start, int limit)(Code) | | Initialize the justifier with an array of infos corresponding to each
glyph. Start and limit indicate the range of the array to examine.
|
justify | public float[] justify(float delta)(Code) | | Return an array of deltas twice as long as the original info array,
indicating the amount by which each side of each glyph should grow
or shrink.
Delta should be positive to expand the line, and negative to compress it.
|
|
|