Glyph
内容
[
隐藏
]遗产: java.lang.Object
public class Glyph
构造器
构造函数 | 描述 |
---|---|
Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset) | 初始化此类的新实例。 |
方法
Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)
public Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)
初始化此类的新实例。
参数:
范围 | 类型 | 描述 |
---|---|---|
glyphIndex | int | |
advance | short | |
advanceOffset | short | |
ascenderOffset | short |
deepClone()
public Glyph deepClone()
退货: Glyph
equals(Object arg0)
public boolean equals(Object arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | java.lang.Object |
退货: 布尔值
getAdvance()
public short getAdvance()
退货: 短的
getAdvanceOffset()
public short getAdvanceOffset()
退货: 短的
getAscenderOffset()
public short getAscenderOffset()
退货: 短的
getClass()
public final native Class<?> getClass()
退货: java.lang.Class
getGlyphIndex()
public int getGlyphIndex()
退货: 整数
getWidth(int em, float fontSize)
public float getWidth(int em, float fontSize)
参数:
范围 | 类型 | 描述 |
---|---|---|
em | int | |
fontSize | float |
退货: 漂浮
hashCode()
public native int hashCode()
退货: 整数
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAdvance(short value)
public void setAdvance(short value)
参数:
范围 | 类型 | 描述 |
---|---|---|
value | short |
toString()
public String toString()
退货: java.lang.字符串
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
参数:
范围 | 类型 | 描述 |
---|---|---|
arg0 | long | |
arg1 | int |