站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

FontMetricsCache.Info (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

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.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.