FontFactory
Contenido
[
Ocultar
]Inheritance: java.lang.Object
public class FontFactory
Contiene funcionalidad para abrir fuentes de diferentes tipos y otros métodos para crear varios objetos.
Constructores
| Constructor | Descripción |
|---|---|
| FontFactory() | Constructor |
Métodos
| Método | Descripción |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| open(FontDefinition fontDefinition) | Abre una fuente, usando el objeto FontDefinition. |
| open(FontType fontType, byte[] fontData) | Abre una fuente, usando el tipo de fuente y la matriz de bytes de datos de fuente. |
| open(FontType fontType, StreamSource fontStreamSource) | Abre una fuente, usando el tipo de fuente y la fuente de flujo. |
| open(FontType fontType, String fileName) | Abre una fuente, usando el tipo de fuente y el nombre de archivo de fuente. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
FontFactory()
public FontFactory()
Constructor
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| 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)
Abre una fuente, usando el objeto FontDefinition.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| fontDefinition | FontDefinition | Objeto de definición de fuente. |
Returns: Font - Font loaded.
open(FontType fontType, byte[] fontData)
public Font open(FontType fontType, byte[] fontData)
Abre una fuente, usando el tipo de fuente y la matriz de bytes de datos de fuente.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| fontType | FontType | Tipo de fuente. |
| fontData | byte[] | Arreglo de bytes para cargar la fuente. |
Returns: Font - Font loaded.
open(FontType fontType, StreamSource fontStreamSource)
public Font open(FontType fontType, StreamSource fontStreamSource)
Abre una fuente, usando el tipo de fuente y la fuente de flujo.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| fontType | FontType | Tipo de fuente. |
| fontStreamSource | StreamSource | Fuente de flujo para la fuente. |
Returns: Font - Font loaded.
open(FontType fontType, String fileName)
public Font open(FontType fontType, String fileName)
Abre una fuente, usando el tipo de fuente y el nombre de archivo de fuente.
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| fontType | FontType | Tipo de fuente. |
| fileName | java.lang.String | Nombre del archivo de fuente. |
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:
| Parámetro | Tipo | Descripción |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parámetro | Tipo | Descripción |
|---|---|---|
| arg0 | long | |
| arg1 | int |