PayPalCreditButtonColor

Defines the colors available for PayPal Credit buttons.

See also

is the default and recommended color for PayPal Credit

is a secondary alternative color for PayPal Credit

alternative color for PayPal Credit

alternative color for PayPal Credit

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val colorResId: Int

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

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override 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.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard

Provides the correct ColorStateList given a Context.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.