RadioButton Constructor

GeonBit.UI

RadioButton Constructor
Create the radio button.

Namespace:  GeonBit.UI.Entities
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public RadioButton(
	string text,
	Anchor anchor = Anchor.Auto,
	Nullable<Vector2> size = null,
	Nullable<Vector2> offset = null,
	bool isChecked = false
)

Parameters

text
Type: SystemString
Radio button label text.
anchor (Optional)
Type: GeonBit.UI.EntitiesAnchor
Position anchor.
size (Optional)
Type: SystemNullableVector2
Radio button size.
offset (Optional)
Type: SystemNullableVector2
Offset from anchor position.
isChecked (Optional)
Type: SystemBoolean
If true, radio button will be created as checked.
See Also