@simoncozens/fonttypes
    Preparing search index...

    Interface Axis

    A definition of an axis in a variable font.

    interface Axis {
        default: UserspaceCoordinate;
        hidden?: boolean;
        map?: Mapping<typeof _Userspace, typeof _Designspace>;
        max: UserspaceCoordinate;
        min: UserspaceCoordinate;
        name?: string;
        tag: string;
    }
    Index

    Properties

    The default value of the axis in user space

    hidden?: boolean

    Whether the axis is hidden from user interfaces

    map?: Mapping<typeof _Userspace, typeof _Designspace>

    The mapping from user space to design space

    The maximum value of the axis in user space

    The minimum value of the axis in user space

    name?: string

    The display name of the axis, e.g. 'Weight'

    tag: string

    The four-character tag of the axis, e.g. 'wght'