ColorsScheme

public final class ColorsScheme

Represents a basic color schema.

Constructors

Link copied to clipboard
public ColorsScheme ColorsScheme(@ColorInt() Integer primary, @ColorInt() Integer accent)

Properties

Link copied to clipboard
private Integer accent

The accent color of the schema.

Link copied to clipboard
private Integer primary

The primary color of the schema.

Functions

Link copied to clipboard
public final Integer getAccent()

The accent color of the schema.

Link copied to clipboard
public final Integer getPrimary()

The primary color of the schema.

Link copied to clipboard
public final Unit setAccent(Integer accent)

The accent color of the schema.

Link copied to clipboard
public final Unit setPrimary(Integer primary)

The primary color of the schema.