Method DrawCheckBoxSvg
DrawCheckBoxSvg(AbstractControl, Graphics, RectD, CheckState, VisualControlState, GetCheckBoxSvgDelegate?)
Draws a checkbox using SVG images.
public static void DrawCheckBoxSvg(AbstractControl control, Graphics canvas, RectD rect, CheckState checkState, VisualControlState controlState, PlessControlPainterHandler.GetCheckBoxSvgDelegate? getSvg = null)
Parameters
controlAbstractControlThe control associated with the checkbox.
canvasGraphicsThe graphics context where the checkbox will be drawn.
rectRectDThe rectangle defining the bounds of the checkbox.
checkStateCheckStateThe state of the checkbox (checked, unchecked, or indeterminate).
controlStateVisualControlStateThe visual state of the control (e.g., normal, hovered, pressed).
getSvgPlessControlPainterHandler.GetCheckBoxSvgDelegateThe optional delegate used to get svg images.