CmxTextBlockSpec
محتويات
[
يخفي
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.imaging.fileformats.cmx.objectmodel.specs.ICmxObjectSpec
public class CmxTextBlockSpec implements ICmxObjectSpec
يمثّل المعلومات المحددة لكتل النص.
المنشئات
| المنشئ | الوصف |
|---|---|
| CmxTextBlockSpec() |
الطرق
| طريقة | الوصف |
|---|---|
| getParagraphStyle() | يحصل على نمط الفقرة. |
| setParagraphStyle(CmxParagraphStyle value) | يضبط نمط الفقرة. |
| getFont() | يحصل على الخط. |
| setFont(Font value) | يضبط الخط. |
| getMatrix() | يحصل على مصفوفة التحويل. |
| setMatrix(Matrix value) | يضبط مصفوفة التحويل. |
| getText() | يحصل على النص. |
| setText(String value) | يضبط النص. |
| getCharLocations() | يحصل على مواقع الأحرف. |
| setCharLocations(PointF[] value) | يضبط مواقع الأحرف. |
| equals(Object o) | تحقق مما إذا كانت الكائنات متساوية. |
| hashCode() | احصل على رمز التجزئة للكائن الحالي. |
CmxTextBlockSpec()
public CmxTextBlockSpec()
getParagraphStyle()
public final CmxParagraphStyle getParagraphStyle()
يحصل على نمط الفقرة.
Returns: CmxParagraphStyle - the paragraph style.
setParagraphStyle(CmxParagraphStyle value)
public final void setParagraphStyle(CmxParagraphStyle value)
يضبط نمط الفقرة.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| value | CmxParagraphStyle | نمط الفقرة. |
getFont()
public final Font getFont()
يحصل على الخط.
Returns: Font - the font.
setFont(Font value)
public final void setFont(Font value)
يضبط الخط.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| value | Font | الخط. |
getMatrix()
public final Matrix getMatrix()
يحصل على مصفوفة التحويل.
Returns: Matrix - the transformation matrix.
setMatrix(Matrix value)
public final void setMatrix(Matrix value)
يضبط مصفوفة التحويل.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| value | Matrix | مصفوفة التحويل. |
getText()
public final String getText()
يحصل على النص.
Returns: java.lang.String - النص.
setText(String value)
public final void setText(String value)
يضبط النص.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| القيمة | java.lang.String | النص. |
getCharLocations()
public final PointF[] getCharLocations()
يحصل على مواقع الأحرف.
Returns: com.aspose.imaging.PointF[] - مواقع الأحرف.
setCharLocations(PointF[] value)
public final void setCharLocations(PointF[] value)
يضبط مواقع الأحرف.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| value | PointF[] | مواقع الأحرف. |
equals(Object o)
public boolean equals(Object o)
تحقق مما إذا كانت الكائنات متساوية.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| o | java.lang.Object | الكائن الآخر. |
Returns: boolean - نتيجة مقارنة المساواة.
hashCode()
public int hashCode()
احصل على رمز التجزئة للكائن الحالي.
Returns: int - رمز التجزئة.