
**遗产：**
java.lang.Object
```
public class TextPathAlignment
```

艺术字对齐。
## 字段

| 场地 | 描述 |
| --- | --- |
| [CENTER](#CENTER) | 在宽度上居中文本。 |
| [LEFT](#LEFT) | 左对齐。 |
| [LETTER_JUSTIFY](#LETTER-JUSTIFY) | 展开字母以适应宽度。 |
| [RIGHT](#RIGHT) | 对正理。 |
| [STRETCH](#STRETCH) | 拉伸每行文本以适应宽度。 |
| [WORD_JUSTIFY](#WORD-JUSTIFY) | 将单词展开以适应宽度。 |
| [length](#length) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [fromName(String textPathAlignmentName)](#fromName-java.lang.String-) |  |
| [getClass()](#getClass--) |  |
| [getName(int textPathAlignment)](#getName-int-) |  |
| [getValues()](#getValues--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [toString(int textPathAlignment)](#toString-int-) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CENTER {#CENTER}
```
public static int CENTER
```


在宽度上居中文本。

### LEFT {#LEFT}
```
public static int LEFT
```


左对齐。

### LETTER_JUSTIFY {#LETTER-JUSTIFY}
```
public static int LETTER_JUSTIFY
```


展开字母以适应宽度。

### RIGHT {#RIGHT}
```
public static int RIGHT
```


对正理。

### STRETCH {#STRETCH}
```
public static int STRETCH
```


拉伸每行文本以适应宽度。

### WORD_JUSTIFY {#WORD-JUSTIFY}
```
public static int WORD_JUSTIFY
```


将单词展开以适应宽度。

### length {#length}
```
public static int length
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**参数：**

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

**退货：**
布尔值
### fromName(String textPathAlignmentName) {#fromName-java.lang.String-}
```
public static int fromName(String textPathAlignmentName)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| textPathAlignmentName | java.lang.String |  |

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




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




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| textPathAlignment | int |  |

**退货：**
java.lang.字符串
### getValues() {#getValues--}
```
public static int[] getValues()
```




**退货：**
整数[]
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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




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




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




**退货：**
java.lang.字符串
### toString(int textPathAlignment) {#toString-int-}
```
public static String toString(int textPathAlignment)
```




**参数：**

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| textPathAlignment | int |  |

**退货：**
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 |  |
