Palette

interface Palette(source)

An extensible collection of colors, keyed by name.

Any library building on top of Silk can add its own colors to this collection, and they are then encouraged to define extension properties to make it easy for users to access them.

Inheritors

Properties

Link copied to clipboard

Convenience property for discovering the color mode that this palette is associated with.

Functions

Link copied to clipboard
abstract operator fun get(key: String): Color?
Link copied to clipboard
open fun getValue(key: String): Color