**Inheritance:**
java.lang.Object

**All Implemented Interfaces:**
com.aspose.font.IFontSource
```
public class TtcFontSource implements IFontSource
```

Represents TTC Font source.
## Constructors

| Constructor | Description |
| --- | --- |
| [TtcFontSource(StreamSource source)](#TtcFontSource-com.aspose.font.StreamSource-) | Creates TTC Font source based on IStreamSource stream providing object. |
| [TtcFontSource(String filePath)](#TtcFontSource-java.lang.String-) | Creates TTC Font source based on ttc font collection file path. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getFontDefinitions()](#getFontDefinitions--) | Returns Font definition array of the TTC Font source. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### TtcFontSource(StreamSource source) {#TtcFontSource-com.aspose.font.StreamSource-}
```
public TtcFontSource(StreamSource source)
```


Creates TTC Font source based on IStreamSource stream providing object.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| source | [StreamSource](../../com.aspose.font/streamsource) | Source stream to extract TTC Font collection data from. |

### TtcFontSource(String filePath) {#TtcFontSource-java.lang.String-}
```
public TtcFontSource(String filePath)
```


Creates TTC Font source based on ttc font collection file path.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| filePath | java.lang.String | Font collection file. |

### 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<?>
### getFontDefinitions() {#getFontDefinitions--}
```
public FontDefinition[] getFontDefinitions()
```


Returns Font definition array of the TTC Font source.

**Returns:**
com.aspose.font.FontDefinition[] - All font definitions from TTC Font source.
### 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 |  |

