getFont

open override fun getFont(type: TypographyType): PaywallFontFamily

Returns the PaywallFontFamily to be used for the given TypographyType. If null is returned, the default font will be used.

Return

the PaywallFontFamily to be used for the given TypographyType.

Parameters

type

the TypographyType for which the font is being requested.