public static interface FontMetricsCache.Info
Modifier and Type | Method and Description |
---|---|
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.
|
int getSpaceWidth(Graphics g)
int getSpaceWidth(Component c)
float getStrikethroughOffset(Graphics g)
float getStrikethroughOffset(Component c)
float getStrikethroughThickness(Graphics g)
float getStrikethroughThickness(Component c)
float getUnderlineOffset(Graphics g)
float getUnderlineOffset(Component c)
float getUnderlineThickness(Graphics g)
float getUnderlineThickness(Component c)
Built on October 25 2023. | Copyright © 2017-2023 Apache Software Foundation. All Rights Reserved.