public static class GlyphMappingTable.MappingRange extends Object
MappingRange
class encapsulates a glyph [start,end] range and
a mapping index.Constructor and Description |
---|
MappingRange()
Instantiate a mapping range.
|
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 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 © 2025 Apache Software Foundation. All rights reserved.