registerAsDecorationArea

fun registerAsDecorationArea(backgroundColorScheme: AuroraColorScheme, vararg areaTypes: DecorationAreaType)

Registers the specified background color scheme to be used on controls in decoration areas.

Parameters

backgroundColorScheme

The color scheme to use for background of controls in decoration areas.

areaTypes

Enumerates the area types that are affected by the parameters. Each decoration area type will be painted by AuroraDecorationPainter.paintDecorationArea


fun registerAsDecorationArea(backgroundColorScheme: AuroraColorScheme, noneTransformationOverlay: (AuroraColorSchemeBundle) -> Unit, vararg areaTypes: DecorationAreaType)

Registers the specified background color scheme and a color scheme bundle overlay to be used on controls in decoration areas.

Parameters

backgroundColorScheme

The color scheme to use for background of controls in decoration areas.

noneTransformationOverlay

Overlay to be applied to the AuroraColorSchemeBundle registered on the DecorationAreaType.None, with the resulting color scheme bundle to be used on #areaTypes.

areaTypes

Enumerates the area types that are affected by the parameters.