Package org.apache.fontbox.afm
Class CharMetric
- java.lang.Object
 - 
- org.apache.fontbox.afm.CharMetric
 
 
- 
public class CharMetric extends java.lang.ObjectThis class represents a single character metric.- Version:
 - $Revision: 1.1 $
 - Author:
 - Ben Litchfield (ben@benlitchfield.com)
 
 
- 
- 
Constructor Summary
Constructors Constructor Description CharMetric() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddLigature(Ligature ligature)This will add an entry to the list of ligatures.BoundingBoxgetBoundingBox()Getter for property boundingBox.intgetCharacterCode()Getter for property characterCode.java.util.List<Ligature>getLigatures()Getter for property ligatures.java.lang.StringgetName()Getter for property name.float[]getVv()Getter for property vv.float[]getW()Getter for property w.float[]getW0()Getter for property w0.floatgetW0x()Getter for property w0x.floatgetW0y()Getter for property w0y.float[]getW1()Getter for property w1.floatgetW1x()Getter for property w1x.floatgetW1y()Getter for property w1y.floatgetWx()Getter for property wx.floatgetWy()Getter for property wy.voidsetBoundingBox(BoundingBox bBox)Setter for property boundingBox.voidsetCharacterCode(int cCode)Setter for property characterCode.voidsetLigatures(java.util.List<Ligature> lig)Setter for property ligatures.voidsetName(java.lang.String n)Setter for property name.voidsetVv(float[] vvValue)Setter for property vv.voidsetW(float[] wValue)Setter for property w.voidsetW0(float[] w0Value)Setter for property w0.voidsetW0x(float w0xValue)Setter for property w0x.voidsetW0y(float w0yValue)Setter for property w0y.voidsetW1(float[] w1Value)Setter for property w1.voidsetW1x(float w1xValue)Setter for property w1x.voidsetW1y(float w1yValue)Setter for property w1y.voidsetWx(float wxValue)Setter for property wx.voidsetWy(float wyValue)Setter for property wy. 
 - 
 
- 
- 
Method Detail
- 
getBoundingBox
public BoundingBox getBoundingBox()
Getter for property boundingBox.- Returns:
 - Value of property boundingBox.
 
 
- 
setBoundingBox
public void setBoundingBox(BoundingBox bBox)
Setter for property boundingBox.- Parameters:
 bBox- New value of property boundingBox.
 
- 
getCharacterCode
public int getCharacterCode()
Getter for property characterCode.- Returns:
 - Value of property characterCode.
 
 
- 
setCharacterCode
public void setCharacterCode(int cCode)
Setter for property characterCode.- Parameters:
 cCode- New value of property characterCode.
 
- 
addLigature
public void addLigature(Ligature ligature)
This will add an entry to the list of ligatures.- Parameters:
 ligature- The ligature to add.
 
- 
getLigatures
public java.util.List<Ligature> getLigatures()
Getter for property ligatures.- Returns:
 - Value of property ligatures.
 
 
- 
setLigatures
public void setLigatures(java.util.List<Ligature> lig)
Setter for property ligatures.- Parameters:
 lig- New value of property ligatures.
 
- 
getName
public java.lang.String getName()
Getter for property name.- Returns:
 - Value of property name.
 
 
- 
setName
public void setName(java.lang.String n)
Setter for property name.- Parameters:
 n- New value of property name.
 
- 
getVv
public float[] getVv()
Getter for property vv.- Returns:
 - Value of property vv.
 
 
- 
setVv
public void setVv(float[] vvValue)
Setter for property vv.- Parameters:
 vvValue- New value of property vv.
 
- 
getW
public float[] getW()
Getter for property w.- Returns:
 - Value of property w.
 
 
- 
setW
public void setW(float[] wValue)
Setter for property w.- Parameters:
 wValue- New value of property w.
 
- 
getW0
public float[] getW0()
Getter for property w0.- Returns:
 - Value of property w0.
 
 
- 
setW0
public void setW0(float[] w0Value)
Setter for property w0.- Parameters:
 w0Value- New value of property w0.
 
- 
getW0x
public float getW0x()
Getter for property w0x.- Returns:
 - Value of property w0x.
 
 
- 
setW0x
public void setW0x(float w0xValue)
Setter for property w0x.- Parameters:
 w0xValue- New value of property w0x.
 
- 
getW0y
public float getW0y()
Getter for property w0y.- Returns:
 - Value of property w0y.
 
 
- 
setW0y
public void setW0y(float w0yValue)
Setter for property w0y.- Parameters:
 w0yValue- New value of property w0y.
 
- 
getW1
public float[] getW1()
Getter for property w1.- Returns:
 - Value of property w1.
 
 
- 
setW1
public void setW1(float[] w1Value)
Setter for property w1.- Parameters:
 w1Value- New value of property w1.
 
- 
getW1x
public float getW1x()
Getter for property w1x.- Returns:
 - Value of property w1x.
 
 
- 
setW1x
public void setW1x(float w1xValue)
Setter for property w1x.- Parameters:
 w1xValue- New value of property w1x.
 
- 
getW1y
public float getW1y()
Getter for property w1y.- Returns:
 - Value of property w1y.
 
 
- 
setW1y
public void setW1y(float w1yValue)
Setter for property w1y.- Parameters:
 w1yValue- New value of property w1y.
 
- 
getWx
public float getWx()
Getter for property wx.- Returns:
 - Value of property wx.
 
 
- 
setWx
public void setWx(float wxValue)
Setter for property wx.- Parameters:
 wxValue- New value of property wx.
 
- 
getWy
public float getWy()
Getter for property wy.- Returns:
 - Value of property wy.
 
 
- 
setWy
public void setWy(float wyValue)
Setter for property wy.- Parameters:
 wyValue- New value of property wy.
 
 - 
 
 -