TtfGlyfTable
Inheritance: java.lang.Object, com.aspose.font.TtfTableBase
public class TtfGlyfTable extends TtfTableBase
表示 TTF 字体文件的 “glyf” 表。
方法
| 方法 | 描述 |
|---|---|
| containsGlyph(int glyphIndex) | 如果表包含具有 glyphIndex 的字形,则返回 true。 |
| equals(Object arg0) | |
| getClass() | |
| getGlyph(long glyphIndex) | 根据字形索引返回字形。 |
| getOffset() | 获取自 sfnt 开始的偏移量。 |
| getTag() | 获取表标签。 |
| getTtfTables() | 指向 TTF 表仓库的引用。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
containsGlyph(int glyphIndex)
public boolean containsGlyph(int glyphIndex)
如果表包含具有 glyphIndex 的字形,则返回 true。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| glyphIndex | int | 字形索引。 |
Returns: boolean - 如果表包含指定索引的字形则为 true,否则为 false。
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getGlyph(long glyphIndex)
public Glyph getGlyph(long glyphIndex)
根据字形索引返回字形。
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| glyphIndex | long | 字形索引。 |
Returns: Glyph - Glyph Glyph related to index specified.
getOffset()
public long getOffset()
获取自 sfnt 开始的偏移量。
Returns: long - 自 sfnt 开始的偏移量。
getTag()
public static String getTag()
获取表标签。
Returns: java.lang.String - 表标签。
getTtfTables()
public TtfTableRepository getTtfTables()
指向 TTF 表仓库的引用。
Returns: TtfTableRepository - Reference to TTF table repository.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |