类 IndexSubTable
java.lang.Object
com.google.typography.font.sfntly.table.FontDataTable
com.google.typography.font.sfntly.table.SubTable
com.google.typography.font.sfntly.table.bitmap.IndexSubTable
- 直接已知子类:
IndexSubTableFormat1
,IndexSubTableFormat2
,IndexSubTableFormat3
,IndexSubTableFormat4
,IndexSubTableFormat5
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明private static final boolean
private final int
private final int
private final int
private final int
private final int
从类继承的字段 com.google.typography.font.sfntly.table.FontDataTable
data
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected int
checkGlyphRange
(int glyphId) protected static int
checkGlyphRange
(int glyphId, int firstGlyphId, int lastGlyphId) protected static IndexSubTable
createIndexSubTable
(ReadableFontData data, int offsetToIndexSubTableArray, int arrayIndex) int
glyphInfo
(int glyphId) abstract int
glyphLength
(int glyphId) final int
glyphOffset
(int glyphId) abstract int
glyphStartOffset
(int glyphId) Gets the offset of the glyph relative to the block for this index subtable.int
int
int
int
abstract int
toString()
从类继承的方法 com.google.typography.font.sfntly.table.SubTable
masterReadData, padding, setPadding
从类继承的方法 com.google.typography.font.sfntly.table.FontDataTable
dataLength, readFontData, serialize, serialize
-
字段详细资料
-
DEBUG
private static final boolean DEBUG- 另请参阅:
-
firstGlyphIndex
private final int firstGlyphIndex -
lastGlyphIndex
private final int lastGlyphIndex -
indexFormat
private final int indexFormat -
imageFormat
private final int imageFormat -
imageDataOffset
private final int imageDataOffset
-
-
构造器详细资料
-
IndexSubTable
-
-
方法详细资料
-
createIndexSubTable
protected static IndexSubTable createIndexSubTable(ReadableFontData data, int offsetToIndexSubTableArray, int arrayIndex) -
indexFormat
public int indexFormat() -
firstGlyphIndex
public int firstGlyphIndex() -
lastGlyphIndex
public int lastGlyphIndex() -
imageFormat
public int imageFormat() -
imageDataOffset
public int imageDataOffset() -
glyphInfo
-
glyphOffset
public final int glyphOffset(int glyphId) -
glyphStartOffset
public abstract int glyphStartOffset(int glyphId) Gets the offset of the glyph relative to the block for this index subtable.- 参数:
glyphId
- the glyph id- 返回:
- the glyph offset
-
glyphLength
public abstract int glyphLength(int glyphId) -
numGlyphs
public abstract int numGlyphs() -
checkGlyphRange
protected static int checkGlyphRange(int glyphId, int firstGlyphId, int lastGlyphId) -
checkGlyphRange
protected int checkGlyphRange(int glyphId) -
toString
- 覆盖:
toString
在类中FontDataTable
-