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

public Class CoverageTableFormat2

extends CoverageTableFormat1
Class Inheritance
Imports
java.util.ArrayList, .List

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

Field Summary

Modifier and TypeField and Description
private final RangeRecord[]

Constructor Summary

AccessConstructor and Description
public
CoverageTableFormat2(int coverageFormat, RangeRecord[] rangeRecords)

Method Summary

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

Overrides org.apache.fontbox.ttf.table.common.CoverageTableFormat1.toString.

Returns a string representation of the object.

Inherited from org.apache.fontbox.ttf.table.common.CoverageTableFormat1:
getCoverageIndexgetGlyphArraygetGlyphIdgetSize

Field Detail

rangeRecordsback to summary
private final RangeRecord[] rangeRecords

Constructor Detail

CoverageTableFormat2back to summary
public CoverageTableFormat2(int coverageFormat, RangeRecord[] rangeRecords)

Method Detail

getRangeRecordsback to summary
public RangeRecord[] getRangeRecords()
getRangeRecordsAsArrayback to summary
private static int[] getRangeRecordsAsArray(RangeRecord[] rangeRecords)
toStringback to summary
public String toString()

Overrides org.apache.fontbox.ttf.table.common.CoverageTableFormat1.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