shift

open override fun shift(backgroundShiftColor: Color, backgroundShiftFactor: Float, foregroundShiftColor: Color, foregroundShiftFactor: Float): AuroraColorScheme

Creates a shift version of this scheme.

Return

Shift version of this scheme.

Parameters

backgroundShiftColor

Shift color for background colors. Should have full opacity.

backgroundShiftFactor

Value in 0.0...1.0 range. Larger values shift more towards the specified color.

foregroundShiftColor

Shift color for foreground colors. Should have full opacity.

foregroundShiftFactor

Value in 0.0...1.0 range. Larger values shift more towards the specified color.