API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.font. LineMetrics View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      LineMetrics
Implements
Subclasses
Description
publicabstract abstract class LineMetrics
  The LineMetrics class allows access to the metrics needed to layout characters along a line and to layout of a set of lines.
See also:   
Constructors
public LineMetrics ()
Methods
Hide/Show inherited methods
publicabstract float getAscent ()
  Returns the ascent of the text.
publicabstract int getBaselineIndex ()
  Returns the baseline index of the text.
publicabstract float getBaselineOffsets ()
  Returns the baseline offsets of the text, relative to the baseline of the text.
publicabstract float getDescent ()
  Returns the descent of the text.
publicabstract float getHeight ()
  Returns the height of the text.
publicabstract float getLeading ()
  Returns the leading of the text.
publicabstract int getNumChars ()
  Returns the number of characters (char values) in the text whose metrics are encapsulated by this LineMetrics object.
publicabstract float getStrikethroughOffset ()
  Returns the position of the strike-through line relative to the baseline.
publicabstract float getStrikethroughThickness ()
  Returns the thickness of the strike-through line.
publicabstract float getUnderlineOffset ()
  Returns the position of the underline relative to the baseline.
publicabstract float getUnderlineThickness ()
  Returns the thickness of the underline.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar