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

Contains information about a font.
## Constructors

| Constructor | Description |
| --- | --- |
| [Font()](#Font--) | Constructor. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getCharSets()](#getCharSets--) | The supported character sets of the font. |
| [getClass()](#getClass--) |  |
| [getFlags()](#getFlags--) | Flags that indicate the following: missing font, default font, asian font, complex font, vertical font, and font type. |
| [getID()](#getID--) | The ID of the element within its parent element. |
| [getName()](#getName--) | The name of the font as a UTF-16 Unicode string. |
| [getPanos()](#getPanos--) | The panose signature for the font. |
| [getUnicodeRanges()](#getUnicodeRanges--) | The supported Unicode ranges of the font. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setCharSets(String value)](#setCharSets-java.lang.String-) | For the description of this property, please see [getCharSets()](../../com.aspose.diagram/font\#getCharSets--) |
| [setFlags(int value)](#setFlags-int-) | For the description of this property, please see [getFlags()](../../com.aspose.diagram/font\#getFlags--) |
| [setID(int value)](#setID-int-) | For the description of this property, please see [getID()](../../com.aspose.diagram/font\#getID--) |
| [setName(String value)](#setName-java.lang.String-) | For the description of this property, please see [getName()](../../com.aspose.diagram/font\#getName--) |
| [setPanos(String value)](#setPanos-java.lang.String-) | For the description of this property, please see [getPanos()](../../com.aspose.diagram/font\#getPanos--) |
| [setUnicodeRanges(String value)](#setUnicodeRanges-java.lang.String-) | For the description of this property, please see [getUnicodeRanges()](../../com.aspose.diagram/font\#getUnicodeRanges--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### Font() {#Font--}
```
public Font()
```


Constructor.

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




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

**Returns:**
boolean
### getCharSets() {#getCharSets--}
```
public String getCharSets()
```


The supported character sets of the font.

**Returns:**
java.lang.String
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




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


Flags that indicate the following: missing font, default font, asian font, complex font, vertical font, and font type.

**Returns:**
int
### getID() {#getID--}
```
public int getID()
```


The ID of the element within its parent element.

**Returns:**
int
### getName() {#getName--}
```
public String getName()
```


The name of the font as a UTF-16 Unicode string.

**Returns:**
java.lang.String
### getPanos() {#getPanos--}
```
public String getPanos()
```


The panose signature for the font. Panose is a classification system for typefaces that categorizes them based upon their visual characteristics.

**Returns:**
java.lang.String
### getUnicodeRanges() {#getUnicodeRanges--}
```
public String getUnicodeRanges()
```


The supported Unicode ranges of the font.

**Returns:**
java.lang.String
### hashCode() {#hashCode--}
```
public native int hashCode()
```




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




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




### setCharSets(String value) {#setCharSets-java.lang.String-}
```
public void setCharSets(String value)
```


For the description of this property, please see [getCharSets()](../../com.aspose.diagram/font\#getCharSets--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setFlags(int value) {#setFlags-int-}
```
public void setFlags(int value)
```


For the description of this property, please see [getFlags()](../../com.aspose.diagram/font\#getFlags--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setID(int value) {#setID-int-}
```
public void setID(int value)
```


For the description of this property, please see [getID()](../../com.aspose.diagram/font\#getID--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setName(String value) {#setName-java.lang.String-}
```
public void setName(String value)
```


For the description of this property, please see [getName()](../../com.aspose.diagram/font\#getName--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setPanos(String value) {#setPanos-java.lang.String-}
```
public void setPanos(String value)
```


For the description of this property, please see [getPanos()](../../com.aspose.diagram/font\#getPanos--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setUnicodeRanges(String value) {#setUnicodeRanges-java.lang.String-}
```
public void setUnicodeRanges(String value)
```


For the description of this property, please see [getUnicodeRanges()](../../com.aspose.diagram/font\#getUnicodeRanges--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### 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 |  |

