FontFactory
Contenuti
[
Nascondere
]Inheritance: java.lang.Object
public class FontFactory
Contiene funzionalità per aprire font di diversi tipi e altri metodi per creare vari oggetti.
Costruttori
| Costruttore | Descrizione |
|---|---|
| FontFactory() | Costruttore |
Metodi
| Metodo | Descrizione |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| open(FontDefinition fontDefinition) | Apre un font, utilizzando l’oggetto FontDefinition. |
| open(FontType fontType, byte[] fontData) | Apre un font, utilizzando il tipo di font e l’array di byte dei dati del font. |
| open(FontType fontType, StreamSource fontStreamSource) | Apre un font, utilizzando il tipo di font e la sorgente stream. |
| open(FontType fontType, String fileName) | Apre un font, utilizzando il tipo di font e il nome del file del font. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
FontFactory()
public FontFactory()
Costruttore
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| 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)
Apre un font, utilizzando l’oggetto FontDefinition.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| fontDefinition | FontDefinition | Oggetto definizione del Font. |
Returns: Font - Font loaded.
open(FontType fontType, byte[] fontData)
public Font open(FontType fontType, byte[] fontData)
Apre un font, utilizzando il tipo di font e l’array di byte dei dati del font.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| fontType | FontType | Tipo di Font. |
| fontData | byte[] | Array di byte da cui caricare il font. |
Returns: Font - Font loaded.
open(FontType fontType, StreamSource fontStreamSource)
public Font open(FontType fontType, StreamSource fontStreamSource)
Apre un font, utilizzando il tipo di font e la sorgente stream.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| fontType | FontType | Tipo di Font. |
| fontStreamSource | StreamSource | Sorgente stream per il font. |
Returns: Font - Font loaded.
open(FontType fontType, String fileName)
public Font open(FontType fontType, String fileName)
Apre un font, utilizzando il tipo di font e il nome del file del font.
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| fontType | FontType | Tipo di Font. |
| fileName | java.lang.String | Nome file del font. |
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:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Descrizione |
|---|---|---|
| arg0 | long | |
| arg1 | int |