getColorScheme

fun getColorScheme(decorationAreaType: DecorationAreaType, componentState: ComponentState): AuroraColorScheme

Returns the color scheme that matches the decoration area type and component state.

Return

The color scheme that matches the decoration area type and component state.

Parameters

decorationAreaType

Decoration area type.

componentState

Component state.


fun getColorScheme(decorationAreaType: DecorationAreaType, associationKind: ColorSchemeAssociationKind, componentState: ComponentState): AuroraColorScheme

Returns the color scheme to be used for painting the specified visual area of components in the specified decoration area.

Return

Color scheme to be used for painting the specified visual area of components in the specified decoration area.

Parameters

decorationAreaType

Decoration area type.

associationKind

Color scheme association kind.

componentState

Component state.