eventDisplayStyle

fun eventDisplayStyle(colorWeeklyOff: Boolean = true, colorEvents: Boolean = true, tintContainer: Boolean = false, indicateWeeklyOff: Boolean = false, indicateKinds: Set<NepaliEventKind> = emptySet(), describe: Boolean = true): NepaliEventDisplayStyle(source)

Creates a NepaliEventDisplayStyle, the switches eventDecorator draws a closed day by.

The defaults colour the number and stop there, for both the weekly rule and named holidays, which leaves the dots to mean events alone.

Parameters

colorWeeklyOff

whether a weekly off day is coloured

colorEvents

whether a named holiday is coloured

tintContainer

whether a day with any status also takes a tinted disc

indicateWeeklyOff

whether a weekly off day draws a dot, off by default

indicateKinds

which kinds of named holiday draw a dot, none by default

describe

whether the day's holiday names reach the screen reader