makeClone

Return a new typeface based on this typeface but parameterized as specified in the variation. If the variation does not supply an argument for a parameter in the font then the value from this typeface will be used as the value for that argument.

Return

same typeface if variation already matches, new typeface otherwise

Throws


fun makeClone(variations: Array<FontVariation>, collectionIndex: Int = 0): Typeface

Return a new typeface based on this typeface but parameterized as specified in the variations. If the variations does not supply an argument for a parameter in the font then the value from this typeface will be used as the value for that argument.

Return

same typeface if all variation already match, new typeface otherwise

Throws