Table of Contents

Method DrawCheckBoxSvg

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

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 AbstractControl

The control associated with the checkbox.

canvas Graphics

The graphics context where the checkbox will be drawn.

rect RectD

The rectangle defining the bounds of the checkbox.

checkState CheckState

The state of the checkbox (checked, unchecked, or indeterminate).

controlState VisualControlState

The visual state of the control (e.g., normal, hovered, pressed).