PeachBrackets

PeachBrackets.Annotations.FormFieldAppearance

FormFieldAppearance.PaintRadio(Canvas, Size, bool) Method

Paints a radio button: the circular background and ring, plus the filled inner dot in the field’s real text color when it is selected.

public void PaintRadio(PeachDrawing.Core.Canvas g, PeachDrawing.Core.Size sizePt, bool isSelected);

Parameters

g Canvas

the canvas to paint onto, laid out at PixelsPerPoint

sizePt Size

the control’s size, in points

isSelected System.Boolean

whether to draw the inner dot