Method DrawRadioButton
DrawRadioButton(AbstractControl, Graphics, RectD, bool, VisualControlState)
Draws a radio button control within the specified bounds, reflecting its checked state and visual appearance.
public void DrawRadioButton(AbstractControl control, Graphics canvas, RectD rect, bool isChecked, VisualControlState controlState)
Parameters
controlAbstractControlThe AbstractControl instance where radio button will be painted. Used for scale factor and dark mode determination.
canvasGraphicsThe Graphics surface used for rendering.
rectRectDThe bounding RectD that defines the button’s layout region.
isCheckedboolIndicates whether the radio button is currently checked.
controlStateVisualControlStateThe current VisualControlState used to render visual feedback (e.g., selected, inactive).