public static class GlyphMappingTable.MappingRange
extends java.lang.Object
MappingRange
class encapsulates a glyph [start,end] range and
a mapping index.Constructor | Description |
---|---|
MappingRange() |
Instantiate a mapping range.
|
MappingRange(int gidStart,
int gidEnd,
int index) |
Instantiate a specific mapping range.
|
Modifier and Type | Method | 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 MappingRange()
public 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-2016 The Apache Software Foundation. All Rights Reserved.