public class FontMetrics extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected float |
normalizationCoef |
Constructor and Description |
---|
FontMetrics() |
Modifier and Type | Method and Description |
---|---|
int |
getAdvanceWidthMax() |
int |
getAscender() |
int[] |
getBbox() |
int |
getCapHeight() |
int |
getDescender() |
int[] |
getGlyphWidths() |
float |
getItalicAngle() |
int |
getLineGap() |
int |
getMaxGlyphId() |
int |
getStemH() |
int |
getStemV() |
int |
getStrikeoutPosition() |
int |
getStrikeoutSize() |
int |
getSubscriptOffset() |
int |
getSubscriptSize() |
int |
getSuperscriptOffset() |
int |
getSuperscriptSize() |
int |
getTypoAscender() |
int |
getTypoDescender() |
int |
getUnderlinePosition() |
int |
getUnderlineThickness() |
int |
getUnitsPerEm() |
int |
getWinAscender() |
int |
getWinDescender() |
int |
getXHeight() |
boolean |
isFixedPitch() |
protected void |
setAdvanceWidthMax(int advanceWidthMax) |
protected void |
setAscender(int ascender) |
void |
setBbox(int llx, int lly, int urx, int ury) |
protected void |
setCapHeight(int capHeight) |
protected void |
setDescender(int descender) |
protected void |
setGlyphWidths(int[] glyphWidths) |
protected void |
setIsFixedPitch(boolean isFixedPitch) |
protected void |
setItalicAngle(float italicAngle) |
protected void |
setLineGap(int lineGap) |
protected void |
setMaxGlyphId(int maxGlyphId) |
protected void |
setStemH(int stemH) |
void |
setStemV(int stemV) |
protected void |
setStrikeoutPosition(int strikeoutPosition) |
protected void |
setStrikeoutSize(int strikeoutSize) |
protected void |
setSubscriptOffset(int subscriptOffset) |
protected void |
setSubscriptSize(int subscriptSize) |
protected void |
setSuperscriptOffset(int superscriptOffset) |
protected void |
setSuperscriptSize(int superscriptSize) |
protected void |
setTypoAscender(int typoAscender) |
protected void |
setTypoDescender(int typoDesctender) |
protected void |
setUnderlinePosition(int underlinePosition) |
protected void |
setUnderlineThickness(int underineThickness) |
protected void |
setUnitsPerEm(int unitsPerEm) |
protected void |
setWinAscender(int winAscender) |
protected void |
setWinDescender(int winDescender) |
protected void |
setXHeight(int xHeight) |
protected void |
updateBbox(float llx, float lly, float urx, float ury) |
public int getUnitsPerEm()
public int getMaxGlyphId()
public int[] getGlyphWidths()
public int getTypoAscender()
public int getTypoDescender()
public int getCapHeight()
public int getXHeight()
public float getItalicAngle()
public int[] getBbox()
public void setBbox(int llx, int lly, int urx, int ury)
public int getAscender()
public int getDescender()
public int getLineGap()
public int getWinAscender()
public int getWinDescender()
public int getAdvanceWidthMax()
public int getUnderlinePosition()
public int getUnderlineThickness()
public int getStrikeoutPosition()
public int getStrikeoutSize()
public int getSubscriptSize()
public int getSubscriptOffset()
public int getSuperscriptSize()
public int getSuperscriptOffset()
public int getStemV()
public int getStemH()
public boolean isFixedPitch()
protected void setUnitsPerEm(int unitsPerEm)
protected void updateBbox(float llx, float lly, float urx, float ury)
protected void setMaxGlyphId(int maxGlyphId)
protected void setGlyphWidths(int[] glyphWidths)
protected void setTypoAscender(int typoAscender)
protected void setTypoDescender(int typoDesctender)
protected void setCapHeight(int capHeight)
protected void setXHeight(int xHeight)
protected void setItalicAngle(float italicAngle)
protected void setAscender(int ascender)
protected void setDescender(int descender)
protected void setLineGap(int lineGap)
protected void setWinAscender(int winAscender)
protected void setWinDescender(int winDescender)
protected void setAdvanceWidthMax(int advanceWidthMax)
protected void setUnderlinePosition(int underlinePosition)
protected void setUnderlineThickness(int underineThickness)
protected void setStrikeoutPosition(int strikeoutPosition)
protected void setStrikeoutSize(int strikeoutSize)
protected void setSubscriptSize(int subscriptSize)
protected void setSubscriptOffset(int subscriptOffset)
protected void setSuperscriptSize(int superscriptSize)
protected void setSuperscriptOffset(int superscriptOffset)
public void setStemV(int stemV)
protected void setStemH(int stemH)
protected void setIsFixedPitch(boolean isFixedPitch)
Copyright © 1998–2018 iText Group NV. All rights reserved.