pt.tumba.parser.swf
Class FontDefinition.Glyph

java.lang.Object
  extended by pt.tumba.parser.swf.FontDefinition.Glyph
Enclosing class:
FontDefinition

public static class FontDefinition.Glyph
extends java.lang.Object

A Glyph within the font.

Author:
unknown

Field Summary
protected  double advance
          Description of the Field
protected  int code
          Description of the Field
protected  Shape shape
          Description of the Field
 
Constructor Summary
FontDefinition.Glyph(Shape shape, double advance, int code)
          Constructor for the Glyph object
 
Method Summary
 double getAdvance()
          Gets the advance attribute of the Glyph object
 int getCode()
          Gets the code attribute of the Glyph object
 Shape getShape()
          Gets the shape attribute of the Glyph object
 void setAdvance(double advance)
          Sets the advance attribute of the Glyph object
 void setCode(int code)
          Sets the code attribute of the Glyph object
 void setShape(Shape shape)
          Sets the shape attribute of the Glyph object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected int code
Description of the Field


advance

protected double advance
Description of the Field


shape

protected Shape shape
Description of the Field

Constructor Detail

FontDefinition.Glyph

public FontDefinition.Glyph(Shape shape,
                            double advance,
                            int code)
Constructor for the Glyph object

Parameters:
shape - Description of the Parameter
advance - Description of the Parameter
code - Description of the Parameter
Method Detail

getShape

public Shape getShape()
Gets the shape attribute of the Glyph object

Returns:
The shape value

getCode

public int getCode()
Gets the code attribute of the Glyph object

Returns:
The code value

getAdvance

public double getAdvance()
Gets the advance attribute of the Glyph object

Returns:
The advance value

setShape

public void setShape(Shape shape)
Sets the shape attribute of the Glyph object

Parameters:
shape - The new shape value

setCode

public void setCode(int code)
Sets the code attribute of the Glyph object

Parameters:
code - The new code value

setAdvance

public void setAdvance(double advance)
Sets the advance attribute of the Glyph object

Parameters:
advance - The new advance value