
**Inheritance:**
java.lang.Object
```
public class UnitType
```

Specifies the unit of measurement.
## Constructors

| Constructor | Description |
| --- | --- |
| [UnitType()](#UnitType--) |  |
## Fields

| Field | Description |
| --- | --- |
| [CM](#CM) | A centimeter. |
| [EM](#EM) | A unit of font width relative to its parent element's font. For example, if the font size of a phrase is 2em and it is within a paragraph whose font size is 10px, then the font size of the phrase is 20px. Refer to the World Wide Web Consortium Website for more information. |
| [EX](#EX) | A unit of font height relative to its parent element's font. Refer to the World Wide Web Consortium Website for more information. |
| [INCH](#INCH) | An inch. |
| [MM](#MM) | A millimeter. |
| [PERCENTAGE](#PERCENTAGE) | A percentage. |
| [PICA](#PICA) | A pica. |
| [PIXEL](#PIXEL) | A pixel. |
| [POINT](#POINT) | A point. |
| [Point](#Point) | Alias for POINT. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### UnitType() {#UnitType--}
```
public UnitType()
```


### CM {#CM}
```
public static int CM
```


A centimeter.

### EM {#EM}
```
public static int EM
```


A unit of font width relative to its parent element's font. For example, if the font size of a phrase is 2em and it is within a paragraph whose font size is 10px, then the font size of the phrase is 20px. Refer to the World Wide Web Consortium Website for more information.

### EX {#EX}
```
public static int EX
```


A unit of font height relative to its parent element's font. Refer to the World Wide Web Consortium Website for more information.

### INCH {#INCH}
```
public static int INCH
```


An inch.

### MM {#MM}
```
public static int MM
```


A millimeter.

### PERCENTAGE {#PERCENTAGE}
```
public static int PERCENTAGE
```


A percentage.

### PICA {#PICA}
```
public static int PICA
```


A pica.

### PIXEL {#PIXEL}
```
public static int PIXEL
```


A pixel.

### POINT {#POINT}
```
public static int POINT
```


A point.

### Point {#Point}
```
public static int Point
```


Alias for POINT.

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




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




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




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




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




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




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

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




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

