Package org.jpedal.annotation
Class Stamp
java.lang.Object
org.jpedal.annotation.Annotation
org.jpedal.annotation.Stamp
Defines a Stamp annotation.
A rubber stamp annotation displays text or graphics intended to look as if they were stamped on the page with a rubber stamp.
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new Stamp annotation.Stamp(float[] rect, int flags, float[] color, float strokingAlpha, float nonStrokingAlpha, String icon) Create a new Stamp annotation.Stamp(float[] rect, int flags, String contents, float[] color, float strokingAlpha, float nonStrokingAlpha, String title, String icon) Create a new Stamp annotation. -
Method Summary
Methods inherited from class org.jpedal.annotation.Annotation
getFlagsValue, setDownAppearance, setNormalAppearance, setRolloverAppearance
-
Constructor Details
-
Stamp
Create a new Stamp annotation.- Parameters:
rect- two diagonally opposite coordinate points that indicate the annotation's bounding boxcolor- the color of the annotationicon- the icon for the stamp. SeeAnnotationIcons
-
Stamp
public Stamp(float[] rect, int flags, float[] color, float strokingAlpha, float nonStrokingAlpha, String icon) Create a new Stamp annotation.- Parameters:
rect- two diagonally opposite coordinate points that indicate the annotation's bounding boxflags- the annotation's flags. SeeAnnotation.getFlagsValue(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)color- the color of the annotationstrokingAlpha- the line transparency valuenonStrokingAlpha- the fill transparency valueicon- the icon for the stamp. SeeAnnotationIcons
-
Stamp
public Stamp(float[] rect, int flags, String contents, float[] color, float strokingAlpha, float nonStrokingAlpha, String title, String icon) Create a new Stamp annotation.- Parameters:
rect- two diagonally opposite coordinate points that indicate the annotation's bounding boxflags- the annotation's flags. SeeAnnotation.getFlagsValue(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)contents- text that shall be displayed or nullcolor- the color of the annotationstrokingAlpha- the line transparency valuenonStrokingAlpha- the fill transparency valuetitle- the text for the title baricon- the icon for the stamp. SeeAnnotationIcons
-