de.dante.extex.font.type.efm
Class EfmGlyph

java.lang.Object
  extended byde.dante.extex.font.type.efm.EfmGlyph
All Implemented Interfaces:
java.io.Serializable

public class EfmGlyph
extends java.lang.Object
implements java.io.Serializable

Class for a efm glyph.

  
     
     
  
  

Version:
$Revision: 1.1 $
Author:
Michael Niedermair
See Also:
Serialized Form

Constructor Summary
EfmGlyph()
           
 
Method Summary
 void addKerning(java.lang.String key, EfmKerning kern)
          Add a kerning.
 void addLigature(java.lang.String key, EfmLigature lig)
          Add a ligature.
 float getDepth()
          Returns the depth.
 float getHeight()
          Returns the height.
 int getId()
          Returns the id.
 java.lang.String getIdasString()
          Returns the id as String.
 float getItalic()
          Returns the italic.
 java.util.Map getKerning()
          Returns the kerning.
 EfmKerning getKerning(java.lang.String key)
          Returns a kerning.
 java.util.Map getLigature()
          Returns the ligature.
 EfmLigature getLigature(java.lang.String key)
          Returns a ligature.
 java.lang.String getName()
          Returns the name.
 int getNumber()
          Returns the number.
 float getWidth()
          Returns the width.
 void setDepth(float d)
          Set the depth.
 void setDepth(java.lang.String d)
          Set the depth.
 void setHeight(float h)
          Set the height.
 void setHeight(java.lang.String h)
          Set the height.
 void setId(int i)
          Set the id.
 void setId(java.lang.String i)
          Set the id.
 void setItalic(float i)
          Set the italic.
 void setItalic(java.lang.String i)
          Set the italic.
 void setName(java.lang.String n)
          Set the name.
 void setNumber(int n)
          Set the number.
 void setNumber(java.lang.String n)
          Set the number (as String).
 void setWidth(float w)
          Set the width.
 void setWidth(java.lang.String w)
          Set the width.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EfmGlyph

public EfmGlyph()
Method Detail

getDepth

public float getDepth()
Returns the depth.

Returns:
Returns the depth.

setDepth

public void setDepth(float d)
Set the depth.

Parameters:
d - The depth to set.

setDepth

public void setDepth(java.lang.String d)
Set the depth.

Parameters:
d - The depth to set.

getHeight

public float getHeight()
Returns the height.

Returns:
Returns the height.

setHeight

public void setHeight(float h)
Set the height.

Parameters:
h - The height to set.

setHeight

public void setHeight(java.lang.String h)
Set the height.

Parameters:
h - The height to set.

getId

public int getId()
Returns the id.

Returns:
Returns the id.

getIdasString

public java.lang.String getIdasString()
Returns the id as String.

Returns:
Returns the id as String.

setId

public void setId(int i)
Set the id.

Parameters:
i - The id to set.

setId

public void setId(java.lang.String i)
Set the id.

Parameters:
i - The id to set (as String).

getItalic

public float getItalic()
Returns the italic.

Returns:
Returns the italic.

setItalic

public void setItalic(float i)
Set the italic.

Parameters:
i - The italic to set.

setItalic

public void setItalic(java.lang.String i)
Set the italic.

Parameters:
i - The italic to set.

getName

public java.lang.String getName()
Returns the name.

Returns:
Returns the name.

setName

public void setName(java.lang.String n)
Set the name.

Parameters:
n - The name to set.

getNumber

public int getNumber()
Returns the number.

Returns:
Returns the number.

setNumber

public void setNumber(int n)
Set the number.

Parameters:
n - The number to set.

setNumber

public void setNumber(java.lang.String n)
Set the number (as String).

Parameters:
n - The number to set.

getWidth

public float getWidth()
Returns the width.

Returns:
Returns the width.

setWidth

public void setWidth(float w)
Set the width.

Parameters:
w - The width to set.

setWidth

public void setWidth(java.lang.String w)
Set the width.

Parameters:
w - The width to set.

addLigature

public void addLigature(java.lang.String key,
                        EfmLigature lig)
Add a ligature.

Parameters:
key - the key
lig - the ligature

getLigature

public EfmLigature getLigature(java.lang.String key)
Returns a ligature.

Parameters:
key - the key
Returns:
Returns a ligature.

addKerning

public void addKerning(java.lang.String key,
                       EfmKerning kern)
Add a kerning.

Parameters:
key - the key
kern - the kerning

getKerning

public EfmKerning getKerning(java.lang.String key)
Returns a kerning.

Parameters:
key - the key
Returns:
Returns a kerning.

getKerning

public java.util.Map getKerning()
Returns the kerning.

Returns:
Returns the kerning.

getLigature

public java.util.Map getLigature()
Returns the ligature.

Returns:
Returns the ligature.