PeachBrackets

PeachBrackets.Annotations.FormFieldAppearance

FormFieldAppearance.PaintCheckbox(Canvas, Size, bool) Method

Paints a checkbox: the border and background, plus the check mark in the field’s real text color when it is checked.

public void PaintCheckbox(PeachDrawing.Core.Canvas g, PeachDrawing.Core.Size sizePt, bool isChecked);

Parameters

g Canvas

the canvas to paint onto, laid out at PixelsPerPoint

sizePt Size

the control’s size, in points

isChecked System.Boolean

whether to draw the check mark