class openfl.gui.RadioButton extends Control
Available on all platforms
Instance Fields
function new(value:String, ?checked:Bool = false, ?font:String = 'Arial', ?fontStyle:FontStyle = null, ?embedded:Bool = false):Void
A control representing a single-choice from multiple RadioButtons.
value | The value of the text to display. |
checked | Determines if the RadioButton is checked by default. If this is set to true while another RadioButton is also checked, that button becomes unchecked and this becomes the new checked button. |
font | The embedded asset or name of the font to use. |
fontStyle | The style of the font, including size, color and underline. |
embedded | Whether to use embedded resources or device fonts. |