BasicCheckBoxBehavior

constructor(textMetrics: TextMetrics, foregroundColor: Color = Black, backgroundColor: Color = Lightgray, darkBackgroundColor: Color = backgroundColor.darker(), cornerRadius: Double = 2.0, iconTextSpacing: Double = 8.0, iconInset: Double = 1.0, checkInset: (CheckBox) -> Float = { 0.5f }, iconSize: (CheckBox) -> Size = { Size(maxOf(0.0, minOf(16.0, it.height - 2 * iconInset, it.width - 2 * iconInset))) }, hoverColorMapper: ColorMapper = { it.darker(0.1f) }, disabledColorMapper: ColorMapper = { it.lighter() }, focusManager: FocusManager? = null)(source)