withMaster

abstract fun withMaster(master: FaceMaster): Face(source)

Creates a new instance of the font face by applying the provided master parameters.

The master parameter specifies a set of axis values that override the current variation settings of the font face, allowing customization based on the specified axis values.

Return

a new Face instance with the adjustments from the provided FaceMaster.

Parameters

master

an instance of FaceMaster containing axis values and their ranges to adjust the font variation settings.