
**遗产：**
java.lang.Object
```
public class Glyph
```
## 构造器

| 构造函数 | 描述 |
| --- | --- |
| [Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)](#Glyph-int-short-short-short-) | 初始化此类的新实例。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [deepClone()](#deepClone--) |  |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAdvance()](#getAdvance--) |  |
| [getAdvanceOffset()](#getAdvanceOffset--) |  |
| [getAscenderOffset()](#getAscenderOffset--) |  |
| [getClass()](#getClass--) |  |
| [getGlyphIndex()](#getGlyphIndex--) |  |
| [getWidth(int em, float fontSize)](#getWidth-int-float-) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setAdvance(short value)](#setAdvance-short-) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset) {#Glyph-int-short-short-short-}
```
public Glyph(int glyphIndex, short advance, short advanceOffset, short ascenderOffset)
```


初始化此类的新实例。

**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| glyphIndex | int |  |
| advance | short |  |
| advanceOffset | short |  |
| ascenderOffset | short |  |

### deepClone() {#deepClone--}
```
public Glyph deepClone()
```




**退货：**
[Glyph](../../com.aspose.words/glyph)
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**退货：**
布尔值
### getAdvance() {#getAdvance--}
```
public short getAdvance()
```




**退货：**
短的
### getAdvanceOffset() {#getAdvanceOffset--}
```
public short getAdvanceOffset()
```




**退货：**
短的
### getAscenderOffset() {#getAscenderOffset--}
```
public short getAscenderOffset()
```




**退货：**
短的
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**退货：**
java.lang.Class<?>
### getGlyphIndex() {#getGlyphIndex--}
```
public int getGlyphIndex()
```




**退货：**
整数
### getWidth(int em, float fontSize) {#getWidth-int-float-}
```
public float getWidth(int em, float fontSize)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| em | int |  |
| fontSize | float |  |

**退货：**
漂浮
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**退货：**
整数
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setAdvance(short value) {#setAdvance-short-}
```
public void setAdvance(short value)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| value | short |  |

### toString() {#toString--}
```
public String toString()
```




**退货：**
java.lang.字符串
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |
