BasicCheckBoxBehavior
class BasicCheckBoxBehavior(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) : CheckRadioButtonBehavior<CheckBox> (source)
Constructors
Link copied to clipboard
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)
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun textPosition(button: Button, text: String, icon: Icon<Button>?, bounds: Rectangle, textSpacing: TextSpacing): Point