TtfStatTable

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

public class TtfStatTable extends TtfTableBase

Methods

MethodDescription
getTag()Gets table tag.
getElidedFallbackNameId()Spec: Name ID used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.
getElidedFallbackName()Spec: Name used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.
getDesignAxisCount()Returns the number of axis records.
getAxisValueCount()Returns the number of axis value tables.
getAxisRecords()Returns design axes array.
getAxisValueTables()Returns array of Axis Value Tables.
clearAxisRecords()Removes all axis records from the table.
addAxisRecord(AxisRecord axisRecord)Adds an Axis Record structure to the table.
clearAxisValueTables()Removes all axis value tables from the table.
addAxisValueTable(AxisValueTableBase axisValueTable)Adds an Axis Value Table structure to the table.

getTag()

public static String getTag()

Gets table tag.

Returns: java.lang.String - Table tag.

getElidedFallbackNameId()

public int getElidedFallbackNameId()

Spec: Name ID used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.

Returns: int - The name ID.

getElidedFallbackName()

public String getElidedFallbackName()

Spec: Name used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.

Returns: java.lang.String - The name used as fallback when projection of names into a particular font model produces a subfamily name containing only elidable elements.

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 - The number of axis records.

getAxisValueCount()

public int getAxisValueCount()

Returns the number of axis value tables.

Returns: int - The number of axis value tables.

getAxisRecords()

public AxisRecord[] getAxisRecords()

Returns design axes array. Axes array is array of structures of type Axis Record. Spec: the axis record provides information about a single design axis.

Returns: com.aspose.font.AxisRecord[] - The design axes array.

getAxisValueTables()

public AxisValueTableBase[] getAxisValueTables()

Returns array of Axis Value Tables. Spec: Axis Value Tables provide details regarding a specific style-attribute value on some specific axis of design variation, or a combination of design-variation axis values, and the relationship of those values to labels used as elements in subfamily names.

Returns: com.aspose.font.AxisValueTableBase[] - The array of Axis Value Tables.

clearAxisRecords()

public void clearAxisRecords()

Removes all axis records from the table.

addAxisRecord(AxisRecord axisRecord)

public void addAxisRecord(AxisRecord axisRecord)

Adds an Axis Record structure to the table.

Parameters:

ParameterTypeDescription
axisRecordAxisRecordAxisRecord structure

clearAxisValueTables()

public void clearAxisValueTables()

Removes all axis value tables from the table.

addAxisValueTable(AxisValueTableBase axisValueTable)

public void addAxisValueTable(AxisValueTableBase axisValueTable)

Adds an Axis Value Table structure to the table.

Parameters:

ParameterTypeDescription
axisValueTableAxisValueTableBaseAxis value table structure