FontFactory
محتويات
[
يخفي
]Inheritance: java.lang.Object
public class FontFactory
يحتوي على وظيفة لفتح الخطوط من أنواع مختلفة وطرق أخرى لإنشاء كائنات مختلفة.
المنشئات
| منشئ | الوصف |
|---|---|
| FontFactory() | منشئ |
الطرق
| طريقة | الوصف |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| open(FontDefinition fontDefinition) | يفتح خطًا باستخدام كائن FontDefinition. |
| open(FontType fontType, byte[] fontData) | يفتح خطًا باستخدام نوع الخط ومصفوفة بايتات بيانات الخط. |
| open(FontType fontType, StreamSource fontStreamSource) | يفتح خطًا باستخدام نوع الخط ومصدر الدفق. |
| open(FontType fontType, String fileName) | يفتح خطًا باستخدام نوع الخط واسم ملف الخط. |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
FontFactory()
public FontFactory()
منشئ
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| 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)
يفتح خطًا باستخدام كائن FontDefinition.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| fontDefinition | FontDefinition | كائن تعريف الخط. |
Returns: Font - Font loaded.
open(FontType fontType, byte[] fontData)
public Font open(FontType fontType, byte[] fontData)
يفتح خطًا باستخدام نوع الخط ومصفوفة بايتات بيانات الخط.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| fontType | FontType | نوع الخط. |
| fontData | byte[] | مصفوفة بايت لتحميل الخط منها. |
Returns: Font - Font loaded.
open(FontType fontType, StreamSource fontStreamSource)
public Font open(FontType fontType, StreamSource fontStreamSource)
يفتح خطًا باستخدام نوع الخط ومصدر الدفق.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| fontType | FontType | نوع الخط. |
| fontStreamSource | StreamSource | مصدر الدفق للخط. |
Returns: Font - Font loaded.
open(FontType fontType, String fileName)
public Font open(FontType fontType, String fileName)
يفتح خطًا باستخدام نوع الخط واسم ملف الخط.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| fontType | FontType | نوع الخط. |
| fileName | java.lang.String | اسم ملف الخط. |
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:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| arg0 | long | |
| arg1 | int |