org.apache.batik.svggen.font.table
Class Coverage

java.lang.Object
  extended by org.apache.batik.svggen.font.table.Coverage
Direct Known Subclasses:
CoverageFormat1, CoverageFormat2

public abstract class Coverage
extends Object


Constructor Summary
Coverage()
           
 
Method Summary
abstract  int findGlyph(int glyphId)
           
abstract  int getFormat()
           
protected static Coverage read(RandomAccessFile raf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Coverage

public Coverage()
Method Detail

getFormat

public abstract int getFormat()

findGlyph

public abstract int findGlyph(int glyphId)
Parameters:
glyphId - The ID of the glyph to find.
Returns:
The index of the glyph within the coverage, or -1 if the glyph can't be found.

read

protected static Coverage read(RandomAccessFile raf)
                        throws IOException
Throws:
IOException


Copyright © 2008 Apache Software Foundation. All Rights Reserved.