Make new Builder with an additional styler.
New Builder
UiElementStyler for specific type
Make new CheckBoxBuilder with different background.
Constructor for desired Background. See UIBackgrounds for a collection of options.
Set button shape.
NOTE: It is recommended to use setButtonShape method instead, as it provides more flexibility (can be called during run-time after check box is created).
// Example
setButtonShape(PointShape.Star)
See PointShape for all available options.
Interface for 'CheckBox'-builder.