Scheme

@CheckReturnValue
open class Scheme

Represents a Material color scheme, a mapping of color roles to colors.

Constructors

Link copied to clipboard
constructor()
constructor(primary: Int, onPrimary: Int, primaryContainer: Int, onPrimaryContainer: Int, secondary: Int, onSecondary: Int, secondaryContainer: Int, onSecondaryContainer: Int, tertiary: Int, onTertiary: Int, tertiaryContainer: Int, onTertiaryContainer: Int, error: Int, onError: Int, errorContainer: Int, onErrorContainer: Int, background: Int, onBackground: Int, surface: Int, onSurface: Int, surfaceVariant: Int, onSurfaceVariant: Int, outline: Int, outlineVariant: Int, shadow: Int, scrim: Int, inverseSurface: Int, inverseOnSurface: Int, inversePrimary: Int)

Properties

Link copied to clipboard
open var background: Int
Link copied to clipboard
open var error: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open var onBackground: Int
Link copied to clipboard
open var onError: Int
Link copied to clipboard
Link copied to clipboard
open var onPrimary: Int
Link copied to clipboard
Link copied to clipboard
open var onSecondary: Int
Link copied to clipboard
Link copied to clipboard
open var onSurface: Int
Link copied to clipboard
Link copied to clipboard
open var onTertiary: Int
Link copied to clipboard
Link copied to clipboard
open var outline: Int
Link copied to clipboard
Link copied to clipboard
open var primary: Int
Link copied to clipboard
Link copied to clipboard
open var scrim: Int
Link copied to clipboard
open var secondary: Int
Link copied to clipboard
Link copied to clipboard
open var shadow: Int
Link copied to clipboard
open var surface: Int
Link copied to clipboard
Link copied to clipboard
open var tertiary: Int
Link copied to clipboard

Functions

Link copied to clipboard
open fun dark(argb: Int): Scheme
Link copied to clipboard
open fun darkContent(argb: Int): Scheme
Link copied to clipboard
open fun equals(object: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun light(argb: Int): Scheme
Link copied to clipboard
open fun lightContent(argb: Int): Scheme
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
@CanIgnoreReturnValue
open fun withBackground(background: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withError(error: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withErrorContainer(errorContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withInverseOnSurface(inverseOnSurface: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withInversePrimary(inversePrimary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withInverseSurface(inverseSurface: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnBackground(onBackground: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnError(onError: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnErrorContainer(onErrorContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnPrimary(onPrimary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnPrimaryContainer(onPrimaryContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnSecondary(onSecondary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnSecondaryContainer(onSecondaryContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnSurface(onSurface: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnSurfaceVariant(onSurfaceVariant: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnTertiary(onTertiary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOnTertiaryContainer(onTertiaryContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOutline(outline: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withOutlineVariant(outlineVariant: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withPrimary(primary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withPrimaryContainer(primaryContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withScrim(scrim: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withSecondary(secondary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withSecondaryContainer(secondaryContainer: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withShadow(shadow: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withSurface(surface: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withSurfaceVariant(surfaceVariant: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withTertiary(tertiary: Int): Scheme
Link copied to clipboard
@CanIgnoreReturnValue
open fun withTertiaryContainer(tertiaryContainer: Int): Scheme