
**Inheritance:**
java.lang.Object
```
public final class FontExtensions
```

Contains extension methods for the  Imaging.Font  class.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toGdiFont(Font font)](#toGdiFont-com.aspose.psd.Font-) | Converts the  Imaging.Font  to the  System.Drawing.Font . |
| [toGdiFont(Font font, int fontUnit)](#toGdiFont-com.aspose.psd.Font-int-) | Converts the  Font  to the  System.Drawing.Font . |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### 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()
```




### toGdiFont(Font font) {#toGdiFont-com.aspose.psd.Font-}
```
public static Font toGdiFont(Font font)
```


Converts the  Imaging.Font  to the  System.Drawing.Font .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| font | [Font](../../com.aspose.psd/font) | The  Imaging.Font  to convert. |

**Returns:**
[Font](../../java.awt/font) - The converted  System.Drawing.Font .
### toGdiFont(Font font, int fontUnit) {#toGdiFont-com.aspose.psd.Font-int-}
```
public static Font toGdiFont(Font font, int fontUnit)
```


Converts the  Font  to the  System.Drawing.Font .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| font | [Font](../../com.aspose.psd/font) | The  Font  to convert. |
| fontUnit | int | New graphics unit |

**Returns:**
[Font](../../java.awt/font) - The converted  System.Drawing.Font .
### toString() {#toString--}
```
public String toString()
```




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




### wait(long arg0) {#wait-long-}
```
public final 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 |  |

