Top Description Fields Constructors Methods
org.apache.fontbox.ttf.table.common

public Class CoverageTableFormat1

extends CoverageTable
Class Inheritance
Known Direct Subclasses
org.apache.fontbox.ttf.table.common.CoverageTableFormat2
Imports
java.util.Arrays

This class models the Coverage format 1 in the Open Type layout common tables.
Author
Palash Ray

Field Summary

Modifier and TypeField and Description
private final int[]

Constructor Summary

AccessConstructor and Description
public
CoverageTableFormat1(int coverageFormat, int[] glyphArray)

Method Summary

Modifier and TypeMethod and Description
public int
public int[]
public int
public int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from org.apache.fontbox.ttf.table.common.CoverageTable:
getCoverageFormat

Field Detail

glyphArrayback to summary
private final int[] glyphArray

Constructor Detail

CoverageTableFormat1back to summary
public CoverageTableFormat1(int coverageFormat, int[] glyphArray)

Method Detail

getCoverageIndexback to summary
public int getCoverageIndex(int gid)

Implements abstract org.apache.fontbox.ttf.table.common.CoverageTable.getCoverageIndex.

Annotations
@Override
getGlyphArrayback to summary
public int[] getGlyphArray()
getGlyphIdback to summary
public int getGlyphId(int index)

Implements abstract org.apache.fontbox.ttf.table.common.CoverageTable.getGlyphId.

Annotations
@Override
getSizeback to summary
public int getSize()

Implements abstract org.apache.fontbox.ttf.table.common.CoverageTable.getSize.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override