TtfStatTable

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

public class TtfStatTable extends TtfTableBase

方法

方法描述
addAxisRecord(AxisRecord axisRecord)向表中添加 Axis Record 结构。
addAxisValueTable(AxisValueTableBase axisValueTable)向表中添加 Axis Value Table 结构。
clearAxisRecords()从表中移除所有 Axis Record。
clearAxisValueTables()从表中移除所有 Axis Value Table。
equals(Object arg0)
getAxisRecords()返回设计轴数组。
getAxisValueCount()返回轴值表的数量。
getAxisValueTables()返回 Axis Value Table 数组。
getClass()
getDesignAxisCount()返回 Axis Record 的数量。
getElidedFallbackName()Spec: 当将名称投射到特定字体模型后产生仅包含可省略元素的子族名称时使用的备用名称。
getElidedFallbackNameId()Spec: 当将名称投射到特定字体模型后产生仅包含可省略元素的子族名称时使用的备用名称 ID。
getOffset()获取自 sfnt 开始的偏移量。
getTag()获取表标签。
getTtfTables()指向 TTF 表仓库的引用。
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

addAxisRecord(AxisRecord axisRecord)

public void addAxisRecord(AxisRecord axisRecord)

向表中添加 Axis Record 结构。

Parameters:

参数类型描述
axisRecordAxisRecordAxisRecord 结构

addAxisValueTable(AxisValueTableBase axisValueTable)

public void addAxisValueTable(AxisValueTableBase axisValueTable)

向表中添加 Axis Value Table 结构。

Parameters:

参数类型描述
axisValueTableAxisValueTableBaseAxis Value Table 结构

clearAxisRecords()

public void clearAxisRecords()

从表中移除所有 Axis Record。

clearAxisValueTables()

public void clearAxisValueTables()

从表中移除所有 Axis Value Table。

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

参数类型描述
arg0java.lang.Object

Returns: boolean

getAxisRecords()

public AxisRecord[] getAxisRecords()

返回设计轴数组。轴数组是 Axis Record 类型结构的数组。Spec: 该轴记录提供有关单个设计轴的信息。

Returns: com.aspose.font.AxisRecord[] - 设计轴数组。

getAxisValueCount()

public int getAxisValueCount()

返回轴值表的数量。

Returns: int - Axis Value Table 的数量。

getAxisValueTables()

public AxisValueTableBase[] getAxisValueTables()

返回 Axis Value Table 数组。Spec: Axis Value Table 提供关于设计变体某特定轴上的特定样式属性值,或设计变体轴值组合的详细信息,以及这些值与用作子族名称元素的标签之间的关系。

Returns: com.aspose.font.AxisValueTableBase[] - 轴值表数组。

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDesignAxisCount()

public int getDesignAxisCount()

Returns the number of axis records. Spec: in a font with an ‘fvar’ table, this value must be greater than or equal to the axisCount value in the ‘fvar’ table. In all fonts, must be greater than zero if axisValueCount is greater than zero.

Returns: int - 轴记录的数量。

getElidedFallbackName()

public String getElidedFallbackName()

Spec: 当将名称投射到特定字体模型后产生仅包含可省略元素的子族名称时使用的备用名称。

Returns: java.lang.String - 当将名称投射到特定字体模型并产生仅包含可省略元素的子族名称时使用的回退名称。

getElidedFallbackNameId()

public int getElidedFallbackNameId()

Spec: 当将名称投射到特定字体模型后产生仅包含可省略元素的子族名称时使用的备用名称 ID。

Returns: int - 名称 ID。

getOffset()

public long getOffset()

获取自 sfnt 开始的偏移量。

Returns: long - 自 sfnt 开始的偏移量。

getTag()

public static String getTag()

获取表标签。

Returns: java.lang.String - 表标签。

getTtfTables()

public TtfTableRepository getTtfTables()

指向 TTF 表仓库的引用。

Returns: TtfTableRepository - Reference to TTF table repository.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

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