PaymentButtonColor

PaymentButtonColor provides a structure for all colors that can be used within a PaymentButton.

Inheritors

Properties

Link copied to clipboard
abstract val colorResId: Int

is the color resource ID that can be used for displaying the color.

Link copied to clipboard
abstract val hasOutline: Boolean

when true the color should be displayed with an outline, when false then no outline will be drawn.

Link copied to clipboard

defines the luminance of the color, useful when determining which type of wordmark to use or when determining the surface color of text widgets on the button.

Functions

Link copied to clipboard

Provides the correct ColorStateList given a Context.