FontFactory
Inhalt
[
Ausblenden
]Inheritance: java.lang.Object
public class FontFactory
Enthält Funktionalität zum Öffnen von Schriftarten verschiedener Typen und weitere Methoden zur Erstellung verschiedener Objekte.
Konstruktoren
| Konstruktor | Beschreibung |
|---|---|
| FontFactory() | Konstruktor |
Methoden
| Methode | Beschreibung |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| open(FontDefinition fontDefinition) | Öffnet einen Font mithilfe eines FontDefinition-Objekts. |
| open(FontType fontType, byte[] fontData) | Öffnet einen Font mithilfe des Font-Typs und eines Byte-Arrays mit Font-Daten. |
| open(FontType fontType, StreamSource fontStreamSource) | Öffnet einen Font mithilfe des Font-Typs und einer Stream-Quelle. |
| open(FontType fontType, String fileName) | Öffnet einen Font mithilfe des Font-Typs und des Font-Dateinamens. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
FontFactory()
public FontFactory()
Konstruktor
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
open(FontDefinition fontDefinition)
public Font open(FontDefinition fontDefinition)
Öffnet einen Font mithilfe eines FontDefinition-Objekts.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| fontDefinition | FontDefinition | Schriftdefinitions-Objekt. |
Returns: Font - Font loaded.
open(FontType fontType, byte[] fontData)
public Font open(FontType fontType, byte[] fontData)
Öffnet einen Font mithilfe des Font-Typs und eines Byte-Arrays mit Font-Daten.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| fontType | FontType | Schrifttyp. |
| fontData | byte[] | Byte-Array, aus dem die Schrift geladen wird. |
Returns: Font - Font loaded.
open(FontType fontType, StreamSource fontStreamSource)
public Font open(FontType fontType, StreamSource fontStreamSource)
Öffnet einen Font mithilfe des Font-Typs und einer Stream-Quelle.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| fontType | FontType | Schrifttyp. |
| fontStreamSource | StreamSource | Stream-Quelle für die Schrift. |
Returns: Font - Font loaded.
open(FontType fontType, String fileName)
public Font open(FontType fontType, String fileName)
Öffnet einen Font mithilfe des Font-Typs und des Font-Dateinamens.
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| fontType | FontType | Schrifttyp. |
| fileName | java.lang.String | Schriftdateiname. |
Returns: Font - Font loaded.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Typ | Beschreibung |
|---|---|---|
| arg0 | long | |
| arg1 | int |