DrawCheckBox

Handles the drawing properties specific to the checkbox.

Properties

decoratenametypedescription
derefdraw_superDrawQuadInherits properties from DrawQuad.
livecheck_typeCheckTypeSpecifies the type of checkbox (Check, Radio, Toggle, None).
livehoverf32Represents the hover state.
livefocusf32Represents the focus state.
liveselectedf32Represents the selected state.

Example

#![allow(unused)]
fn main() {
draw_check: {
    check_type: Radio,
    selected: 1.0,
},
}