Method DrawCheckBoxSvg
DrawCheckBoxSvg(AbstractControl, Graphics, RectD, CheckState, VisualControlState)
Draws a checkbox using SVG images.
public static void DrawCheckBoxSvg(AbstractControl control, Graphics canvas, RectD rect, CheckState checkState, VisualControlState controlState)
Parameters
control
AbstractControlThe control associated with the checkbox.
canvas
GraphicsThe graphics context where the checkbox will be drawn.
rect
RectDThe rectangle defining the bounds of the checkbox.
checkState
CheckStateThe state of the checkbox (checked, unchecked, or indeterminate).
controlState
VisualControlStateThe visual state of the control (e.g., normal, hovered, pressed).