CffFontMetrics

Inheritance: java.lang.Object, com.aspose.font.FontMetrics

public class CffFontMetrics extends FontMetrics

تنفيذ مقاييس خط CFF

الطرق

طريقةالوصف
equals(Object arg0)
getAscender()يحصل على قيمة Ascender.
getAscender(double fontSize)يعيد قيمة الصاعد لحجم الخط المحدد.
getClass()
getDescender()يحصل على قيمة Descender.
getDescender(double fontSize)يعيد قيمة النازل لحجم الخط المحدد.
getFontBBox()يحصل على قيمة FontBBox.
getFontMatrix()يحصل على قيمة FontMatrix.
getFontMatrixForGlyph(GlyphId glyphId)يحسب مصفوفة التحويل لـ glyph المحدد بالمعرف.
getGlyphBBox(GlyphId glyphId)يعيد Bbox للرمز.
getGlyphWidth(GlyphId glyphId)يعيد عرض الرمز.
getKerningValue(GlyphId prevGlyphId, GlyphId nextGlyphId)يعيد قيمة التباعد للزوج من الرموز.
getLineGap()يحصل على قيمة LineGap.
getTypoAscender()يحصل على قيمة TypoAscender.
getTypoAscender(double fontSize)يعيد الصاعد الطباعي لحجم الخط المحدد.
getTypoDescender()يحصل على قيمة TypoDescender.
getTypoDescender(double fontSize)يعيد النازل الطباعي لحجم الخط المحدد.
getTypoLineGap()يحصل على قيمة TypoLineGap.
getTypoLineGap(double fontSize)يعيد الفجوة الخطية لحجم الخط المحدد.
getUnitsPerEM()يحصل على قيمة UnitsPerEM.
hashCode()
isFixedPitch()يحصل على قيمة IsFixedPitch.
measureString(String unicode, double fontSize)يقيس السلسلة ويعيد عرض السلسلة.
notify()
notifyAll()
setAscender(double value)يضبط قيمة Ascender.
setDescender(double value)يضبط قيمة Descender.
setGlyphWidth(GlyphId glyphId, double value)
setTypoAscender(double value)يضبط قيمة TypoAscender.
setTypoDescender(double value)يضبط قيمة TypoDescender.
setUnitsPerEM(long value)يضبط قيمة UnitsPerEM.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

معاملنوعالوصف
arg0java.lang.Object

Returns: boolean

getAscender()

public double getAscender()

يحصل على قيمة Ascender.

Returns: double - قيمة Ascender.

getAscender(double fontSize)

public double getAscender(double fontSize)

يعيد قيمة الصاعد لحجم الخط المحدد.

Parameters:

معاملنوعالوصف
fontSizedoubleحجم الخط.

Returns: double - قيمة Ascender.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDescender()

public double getDescender()

يحصل على قيمة Descender.

Returns: double - قيمة Descender.

getDescender(double fontSize)

public double getDescender(double fontSize)

يعيد قيمة النازل لحجم الخط المحدد.

Parameters:

معاملنوعالوصف
fontSizedoubleحجم الخط.

Returns: double - قيمة Descender.

getFontBBox()

public FontBBox getFontBBox()

يحصل على قيمة FontBBox.

Returns: FontBBox - FontBBox value.

getFontMatrix()

public TransformationMatrix getFontMatrix()

يحصل على قيمة FontMatrix.

Returns: TransformationMatrix - FontMatrix value.

getFontMatrixForGlyph(GlyphId glyphId)

public TransformationMatrix getFontMatrixForGlyph(GlyphId glyphId)

يحسب مصفوفة التحويل لـ glyph المحدد بالمعرف.

Parameters:

معاملنوعالوصف
glyphIdGlyphIdمعرف الرمز.

Returns: TransformationMatrix - Glyph transformation matrix.

getGlyphBBox(GlyphId glyphId)

public FontBBox getGlyphBBox(GlyphId glyphId)

يعيد Bbox للرمز. يعيد FontBBox إذا لم يتم تعريف BBox للرمز. قد يتم تجاوزها بواسطة وراثي ترميز الخط المحدد.

Parameters:

معاملنوعالوصف
glyphIdGlyphIdمعرف الرمز.

Returns: FontBBox - Glyph BBox.

getGlyphWidth(GlyphId glyphId)

public double getGlyphWidth(GlyphId glyphId)

يرجع عرض glyph. قد يتم تجاوزها بواسطة الوراثة الخاصة بترميز الخط المحدد.

Parameters:

معاملنوعالوصف
glyphIdGlyphIdمعرف الرمز.

Returns: double - عرض glyph.

getKerningValue(GlyphId prevGlyphId, GlyphId nextGlyphId)

public double getKerningValue(GlyphId prevGlyphId, GlyphId nextGlyphId)

يعيد قيمة التباعد للزوج من الرموز.

Parameters:

معاملنوعالوصف
prevGlyphIdGlyphIdأول glyph في الزوج.
nextGlyphIdGlyphIdحجم الخط.

Returns: double - قيمة Kerning.

getLineGap()

public double getLineGap()

يحصل على قيمة LineGap.

Returns: double - قيمة LineGap.

getTypoAscender()

public double getTypoAscender()

يحصل على قيمة TypoAscender.

Returns: double - قيمة TypoAscender.

getTypoAscender(double fontSize)

public double getTypoAscender(double fontSize)

يعيد الصاعد الطباعي لحجم الخط المحدد.

Parameters:

معاملنوعالوصف
fontSizedoubleحجم الخط.

Returns: double - قيمة Typographic ascender.

getTypoDescender()

public double getTypoDescender()

يحصل على قيمة TypoDescender.

Returns: double - قيمة TypoDescender.

getTypoDescender(double fontSize)

public double getTypoDescender(double fontSize)

يعيد النازل الطباعي لحجم الخط المحدد.

param fontSize حجم الخط.

Parameters:

معاملنوعالوصف
fontSizedouble

Returns: double - قيمة Typographic descender.

getTypoLineGap()

public double getTypoLineGap()

يحصل على قيمة TypoLineGap.

Returns: double - قيمة TypoLineGap.

getTypoLineGap(double fontSize)

public double getTypoLineGap(double fontSize)

يعيد الفجوة الخطية لحجم الخط المحدد.

Parameters:

معاملنوعالوصف
fontSizedoubleحجم الخط.

Returns: double - قيمة Line gap.

getUnitsPerEM()

public long getUnitsPerEM()

يحصل على قيمة UnitsPerEM.

Returns: long - قيمة UnitsPerEM.

hashCode()

public native int hashCode()

Returns: int

isFixedPitch()

public boolean isFixedPitch()

يحصل على قيمة IsFixedPitch.

Returns: boolean - قيمة IsFixedPitch.

measureString(String unicode, double fontSize)

public double measureString(String unicode, double fontSize)

يقيس السلسلة ويعيد عرض السلسلة.

Parameters:

معاملنوعالوصف
unicodejava.lang.Stringسلسلة Unicode.
fontSizedoubleحجم الخط.

Returns: double - عرض String.

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAscender(double value)

public void setAscender(double value)

يضبط قيمة Ascender.

Parameters:

معاملنوعالوصف
القيمةdoubleقيمة Ascender.

setDescender(double value)

public void setDescender(double value)

يضبط قيمة Descender.

Parameters:

معاملنوعالوصف
القيمةdoubleقيمة Descender.

setGlyphWidth(GlyphId glyphId, double value)

public void setGlyphWidth(GlyphId glyphId, double value)

يضبط عرض الرمز.

Parameters:

معاملنوعالوصف
glyphIdGlyphId
القيمةdouble

setTypoAscender(double value)

public void setTypoAscender(double value)

يضبط قيمة TypoAscender.

Parameters:

معاملنوعالوصف
القيمةdoubleقيمة TypoAscender.

setTypoDescender(double value)

public void setTypoDescender(double value)

يضبط قيمة TypoDescender.

Parameters:

معاملنوعالوصف
القيمةdoubleقيمة TypoDescender.

setUnitsPerEM(long value)

public void setUnitsPerEM(long value)

يضبط قيمة UnitsPerEM.

Parameters:

معاملنوعالوصف
القيمةlongقيمة UnitsPerEM.

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

معاملنوعالوصف
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

معاملنوعالوصف
arg0long
arg1int