cardModifier

fun cardModifier(type: CardType, extraPadding: <Error class: unknown class>): <Error class: unknown class>

Return a modifier to be used for a specific card type. If a modifier has been specified for the specific card type, it will be used. If no modifier has been specified for the specific card type, then the general modifier will be used.

If neither a specific or generic modifier, a default will be created using the background color.

NOTE: If modifier is used, then it should have a background color specified in it.

Return

Parameters

type
extraPadding