Material

enum Material : Enum<Material>

Material in PICO design system is made up of two colors with blend mode.

Entries

Link copied to clipboard

No material.

Link copied to clipboard

The Material of the base layer e.g:Window、Augment、Tab Bar、Tool Bar

Link copied to clipboard

The Material of the elevated layer that occupy a large area e.g:Dialog Alert、Sheet、Menu

Link copied to clipboard

The Material of the elevated layer that occupy a small area e.g:Tooltip、Text Selector

Link copied to clipboard

The Material of the elevated layer that occupy a small area e.g:Box、Button、CheckBox. Currently, It has no effect for the Window.

Properties

Link copied to clipboard
val entries: EnumEntries<Material>

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

Functions

Link copied to clipboard
fun valueOf(value: String): Material

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
fun values(): Array<Material>

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