Class CreateRadioButtons
java.lang.Object
org.apache.pdfbox.examples.interactive.form.CreateRadioButtons
Example to create radio buttons.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static PDAppearanceStreamcreateAppearanceStream(PDDocument document, PDAnnotationWidget widget, boolean on) (package private) static voiddrawCircle(PDAppearanceContentStream cs, float x, float y, float r) (package private) static floatgetLineWidth(PDAnnotationWidget widget) static void
-
Constructor Details
-
CreateRadioButtons
private CreateRadioButtons()
-
-
Method Details
-
main
- Throws:
IOException
-
createAppearanceStream
private static PDAppearanceStream createAppearanceStream(PDDocument document, PDAnnotationWidget widget, boolean on) throws IOException - Throws:
IOException
-
getLineWidth
-
drawCircle
- Throws:
IOException
-