get Color Scheme
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
component State
Component state.
fun getColorScheme(associationKind: ColorSchemeAssociationKind, componentState: ComponentState, allowFallback: Boolean): AuroraColorScheme?
Content copied to clipboard
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
association Kind
Color scheme association kind.
component State
Component state.
allow Fallback
If true, this method will return a color scheme for the fallback association kind.