Method DrawRadioButtonSvg
DrawRadioButtonSvg(AbstractControl, Graphics, RectD, bool, VisualControlState)
Draws a radio button using an SVG-based visual representation within the specified bounds and state.
public static void DrawRadioButtonSvg(AbstractControl control, Graphics canvas, RectD rect, bool isChecked, VisualControlState controlState)
Parameters
controlAbstractControlThe AbstractControl instance representing where the radio button will be drawn. It used in order to get scale factor and dark mode settings.
canvasGraphicsThe Graphics surface onto which the radio button will be rendered.
rectRectDThe RectD defining the layout bounds of the radio button.
isCheckedboolSpecifies whether the radio button is currently in a checked state.
controlStateVisualControlStateThe VisualControlState representing the current interaction state (e.g., normal, hovered, disabled) used for rendering.