getColorScheme

fun getColorScheme(componentState: ComponentState): AuroraColorScheme

Returns the color scheme of the specified component in the specified component state.

Return

The color scheme of the component in the specified component state.

Parameters

componentState

Component state.


fun getColorScheme(associationKind: ColorSchemeAssociationKind, componentState: ComponentState, allowFallback: Boolean): AuroraColorScheme?

Returns the color scheme to be used for painting the specified visual area of the component under the specified component state.

Return

Color scheme to be used for painting the specified visual area of the component under the specified component state.

See also

.registerColorScheme

Parameters

associationKind

Color scheme association kind.

componentState

Component state.

allowFallback

If true, this method will return a color scheme for the fallback association kind.