org.netbeans.modules.editor.lib/1 1.44.0 9

org.netbeans.editor
Interface FontMetricsCache.Info

Enclosing class:
FontMetricsCache

public static interface FontMetricsCache.Info


Method Summary
 int getSpaceWidth(Component c)
          Returns the width of the space character
 int getSpaceWidth(Graphics g)
          Returns the width of the space character
 float getStrikethroughOffset(Component c)
          Returns the position of the strike-through line relative to the baseline.
 float getStrikethroughOffset(Graphics g)
          Returns the position of the strike-through line relative to the baseline.
 float getStrikethroughThickness(Component c)
          Returns the thickness of the strike-through line.
 float getStrikethroughThickness(Graphics g)
          Returns the thickness of the strike-through line.
 float getUnderlineOffset(Component c)
          Returns the position of the underline relative to the baseline.
 float getUnderlineOffset(Graphics g)
          Returns the position of the underline relative to the baseline.
 float getUnderlineThickness(Component c)
          Returns the thickness of the underline.
 float getUnderlineThickness(Graphics g)
          Returns the thickness of the underline.
 

Method Detail

getSpaceWidth

int getSpaceWidth(Graphics g)
Returns the width of the space character


getSpaceWidth

int getSpaceWidth(Component c)
Returns the width of the space character


getStrikethroughOffset

float getStrikethroughOffset(Graphics g)
Returns the position of the strike-through line relative to the baseline.


getStrikethroughOffset

float getStrikethroughOffset(Component c)
Returns the position of the strike-through line relative to the baseline.


getStrikethroughThickness

float getStrikethroughThickness(Graphics g)
Returns the thickness of the strike-through line.


getStrikethroughThickness

float getStrikethroughThickness(Component c)
Returns the thickness of the strike-through line.


getUnderlineOffset

float getUnderlineOffset(Graphics g)
Returns the position of the underline relative to the baseline.


getUnderlineOffset

float getUnderlineOffset(Component c)
Returns the position of the underline relative to the baseline.


getUnderlineThickness

float getUnderlineThickness(Graphics g)
Returns the thickness of the underline.


getUnderlineThickness

float getUnderlineThickness(Component c)
Returns the thickness of the underline.


org.netbeans.modules.editor.lib/1 1.44.0 9

Built on November 22 2009.  |  Portions Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.