ComPDF React Native - v3.0.0
    Preparing search index...

    Interface CPDFRadioButtonAttr

    Attributes for a radio button widget used in PDF forms.

    Semantically similar to a checkbox but visually and behaviorally represents a mutually exclusive selection within a radio group.

    interface CPDFRadioButtonAttr {
        fillColor?: `#${string}`;
        borderColor?: `#${string}`;
        borderWidth?: BorderWidth;
        checkedColor?: `#${string}`;
        isChecked?: boolean;
        checkedStyle?: string;
        type: "radioButton";
    }

    Hierarchy

    • CPDFBaseCheckAttr
      • CPDFRadioButtonAttr
    Index

    Properties

    fillColor?: `#${string}`

    Background fill color of the checkbox box.

    borderColor?: `#${string}`

    Border color of the checkbox box.

    borderWidth?: BorderWidth

    Border width of the checkbox box.

    checkedColor?: `#${string}`

    Color used to draw the check mark when selected.

    isChecked?: boolean

    Default checked state.

    checkedStyle?: string

    Visual style of the check mark (e.g., check, circle).

    type: "radioButton"