set_variation


Description:

[ Version ( since = "7.1.0" ) ]
public void set_variation (Tag tag, float value)

Change the value of one variation axis on the font.

Note: This function is expensive to be called repeatedly. If you want to set multiple variation axes at the same time, use set_variations instead.

Parameters:

tag

The Tag tag of the variation-axis name

value

The value of the variation axis

font

Font to work upon