org.jopendocument.util
Class DummyFontMetrics
java.lang.Object
java.awt.FontMetrics
org.jopendocument.util.DummyFontMetrics
- All Implemented Interfaces:
- Serializable
public class DummyFontMetrics
- extends FontMetrics
- See Also:
- Serialized Form
Methods inherited from class java.awt.FontMetrics |
getFont, getFontRenderContext, getLineMetrics, getLineMetrics, getLineMetrics, getLineMetrics, getMaxCharBounds, getMaxDecent, getStringBounds, getStringBounds, getStringBounds, getStringBounds, getWidths, stringWidth, toString |
DummyFontMetrics
protected DummyFontMetrics(Font font)
getLeading
public int getLeading()
- Overrides:
getLeading
in class FontMetrics
getAscent
public int getAscent()
- Overrides:
getAscent
in class FontMetrics
getDescent
public int getDescent()
- Overrides:
getDescent
in class FontMetrics
getHeight
public int getHeight()
- Overrides:
getHeight
in class FontMetrics
getMaxAscent
public int getMaxAscent()
- Overrides:
getMaxAscent
in class FontMetrics
getMaxDescent
public int getMaxDescent()
- Overrides:
getMaxDescent
in class FontMetrics
getMaxAdvance
public int getMaxAdvance()
- Overrides:
getMaxAdvance
in class FontMetrics
charWidth
public int charWidth(int codePoint)
- Overrides:
charWidth
in class FontMetrics
charWidth
public int charWidth(char ch)
- Overrides:
charWidth
in class FontMetrics
charsWidth
public int charsWidth(char[] data,
int off,
int len)
- Overrides:
charsWidth
in class FontMetrics
bytesWidth
public int bytesWidth(byte[] data,
int off,
int len)
- Overrides:
bytesWidth
in class FontMetrics
hasUniformLineMetrics
public boolean hasUniformLineMetrics()
- Overrides:
hasUniformLineMetrics
in class FontMetrics
Copyright © 2010 jOpenDocument All Rights Reserved.