public class AxisRecord extends Object
Represents Axis Record structure. Spec: the axis record provides information about a single design axis.
| Constructor and Description |
|---|
AxisRecord(String tag,
int axisNameId,
int axisOrdering)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAxisNameId()
Returns axisNameID field.
|
int |
getAxisOrdering()
Returns axisOrdering field.
|
String |
getTag()
Returns a tag identifying the axis of design variation.
|
public AxisRecord(String tag, int axisNameId, int axisOrdering)
Constructor
tag - Tag, spec: A tag identifying the axis of design variationaxisNameId - The name ID for entries in the 'name' table that provide a display string for this axisaxisOrdering - The value that applications can use to determine primary sorting of face names, or for ordering of labels when composing family or face names.public String getTag()
Returns a tag identifying the axis of design variation. Spec: Each axis record has a tag designating the axis. Tag values must follow the rules for axis tags described in the OpenType Design-Variation Axis Tag Registry.
public int getAxisNameId()
Returns axisNameID field. Spec: The axisNameID field provides a name ID that can be used to obtain strings from the 'name' table that can be used to refer to the axis in application user interfaces.
public int getAxisOrdering()
Returns axisOrdering field. Spec:A value that applications can use to determine primary sorting of face names, or for ordering of labels when composing family or face names.
Copyright © 2025 Aspose. All Rights Reserved.