public static class GlyphMappingTable.MappingRange
extends java.lang.Object
MappingRange
class encapsulates a glyph [start,end] range and
a mapping index.Constructor and Description |
---|
GlyphMappingTable.MappingRange()
Instantiate a mapping range.
|
GlyphMappingTable.MappingRange(int gidStart,
int gidEnd,
int index)
Instantiate a specific mapping range.
|
Modifier and Type | Method and Description |
---|---|
int |
getEnd() |
int |
getIndex() |
int[] |
getInterval() |
int[] |
getInterval(int[] interval)
Obtain interval, filled into first two elements of specified array, or returning new array.
|
int |
getLength() |
int |
getStart() |
public GlyphMappingTable.MappingRange()
public GlyphMappingTable.MappingRange(int gidStart, int gidEnd, int index)
gidStart
- start of rangegidEnd
- end of rangeindex
- mapping indexpublic int getStart()
public int getEnd()
public int getIndex()
public int[] getInterval()
public int[] getInterval(int[] interval)
interval
- an array of length two or greater or nullpublic int getLength()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.