public class AnnotationSettings extends Object
Annotation
display settings,
such as annotation selection stroke and selection color.
For jPDFNotes, jPDFEditor: To set default settings for annotation tools
such as default color, look under com.qoppa.pdfNotes.settingsConstructor and Description |
---|
AnnotationSettings() |
Modifier and Type | Method and Description |
---|---|
static Color |
getSelectionColor()
Returns the annotation selection color.
|
static BasicStroke |
getSelectionStroke()
Returns the annotation selection stroke.
|
static void |
setSelectionColor(Color color)
Sets the annotation selection color.
|
static void |
setSelectionStroke(BasicStroke stroke)
Sets the annotation selection stroke.
|
public static void setSelectionStroke(BasicStroke stroke)
stroke
- The stroke to use for the selection border.public static BasicStroke getSelectionStroke()
public static void setSelectionColor(Color color)
color
- The color to use when drawing the selection border.public static Color getSelectionColor()