FontFactory

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

KonstruktorBeschreibung
FontFactory()Konstruktor

Methoden

MethodeBeschreibung
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:

ParameterTypBeschreibung
arg0java.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:

ParameterTypBeschreibung
fontDefinitionFontDefinitionSchriftdefinitions-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:

ParameterTypBeschreibung
fontTypeFontTypeSchrifttyp.
fontDatabyte[]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:

ParameterTypBeschreibung
fontTypeFontTypeSchrifttyp.
fontStreamSourceStreamSourceStream-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:

ParameterTypBeschreibung
fontTypeFontTypeSchrifttyp.
fileNamejava.lang.StringSchriftdateiname.

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:

ParameterTypBeschreibung
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypBeschreibung
arg0long
arg1int