Glyph

遗产: java.lang.Object

public class Glyph

构造器

构造函数描述
Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)初始化此类的新实例。

方法

方法描述
deepClone()
equals(Object arg0)
getAdvance()
getAdvanceOffset()
getAscenderOffset()
getClass()
getGlyphIndex()
getWidth(int em, float fontSize)
hashCode()
notify()
notifyAll()
setAdvance(short value)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)

public Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)

初始化此类的新实例。

参数:

范围类型描述
glyphIndexint
advanceshort
advanceOffsetshort
ascenderOffsetshort

deepClone()

public Glyph deepClone()

退货: Glyph

equals(Object arg0)

public boolean equals(Object arg0)

参数:

范围类型描述
arg0java.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)

参数:

范围类型描述
emint
fontSizefloat

退货: 漂浮

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)

参数:

范围类型描述
valueshort

toString()

public String toString()

退货: java.lang.字符串

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

参数:

范围类型描述
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

参数:

范围类型描述
arg0long
arg1int