the atlas the regions are read from
Optionaldisabledthe region drawn when not checked and disabled; off at half opacity
if left out
Optionaldisabledthe region drawn when checked and disabled; on at half opacity if
left out
Optionalhoverthe region drawn when not checked and under the pointer; off if left
out
Optionalhoverthe region drawn when checked and under the pointer; on if left out
Optionalinsetxthe width of a corner kept unscaled, in pixels; a quarter of the region's width by default
Optionalinsetythe height of a corner kept unscaled, in pixels; a quarter of the region's height by default
the region drawn when not checked
the region drawn when checked
The art of a skinned UICheckbox: one atlas region per state.
Only
onandoffare needed. Each region is drawn as a square of UICheckboxSettings#boxSize pixels (the height ofoffby default). Every region named is looked up when the checkbox is built, so a misspelt name throws there.Example