org.extex.font.format.xtf.tables.gps
Class ClassRangeRecord

java.lang.Object
  extended by org.extex.font.format.xtf.tables.gps.ClassRangeRecord

public class ClassRangeRecord
extends java.lang.Object

Class for a ClassRangeRecord.

Each ClassRangeRecord consists of a Start glyph index, an End glyph index, and a Class value. All GlyphIDs in a range, from Start to End inclusive, constitute the class identified by the Class value. Any glyph not covered by a ClassRangeRecord is assumed to belong to Class 0.

Michael Niedermair

Constructor Summary
ClassRangeRecord(RandomAccessR rar)
          Creates a new object.
 
Method Summary
 int getEnd()
          Getter for end.
 int getGclass()
          Getter for gclass.
 int getStart()
          Getter for start.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassRangeRecord

public ClassRangeRecord(RandomAccessR rar)
                 throws java.io.IOException
Creates a new object.

Parameters:
rar - The input.
Throws:
java.io.IOException - if a IO-error occurred.
Method Detail

getEnd

public int getEnd()
Getter for end.

Returns:
the end

getGclass

public int getGclass()
Getter for gclass.

Returns:
the gclass

getStart

public int getStart()
Getter for start.

Returns:
the start