Package org.jpedal.annotation
Class Circle
java.lang.Object
org.jpedal.annotation.Annotation
org.jpedal.annotation.Circle
Defines a Circle annotation.
Circle annotations shall display an ellipse on the page.
-
Constructor Summary
ConstructorsConstructorDescriptionCircle(float[] rect, float[] lineColor, float[] fillColor, float strokingAlpha, float nonStrokingAlpha, float lineWidth) Create a new Circle annotation.Circle(float[] rect, int flags, float[] lineColor, float[] fillColor, float strokingAlpha, float nonStrokingAlpha, float lineWidth) Create a new Circle annotation.Circle(float[] rect, int flags, String contents, float[] lineColor, float[] fillColor, float strokingAlpha, float nonStrokingAlpha, String title, float lineWidth) Create a new Circle annotation. -
Method Summary
Methods inherited from class org.jpedal.annotation.Annotation
getFlagsValue, setDownAppearance, setNormalAppearance, setRolloverAppearance
-
Constructor Details
-
Circle
public Circle(float[] rect, float[] lineColor, float[] fillColor, float strokingAlpha, float nonStrokingAlpha, float lineWidth) Create a new Circle annotation.- Parameters:
rect- two diagonally opposite coordinate points that indicate the annotation's bounding boxlineColor- the line color of the annotationfillColor- the fill colorstrokingAlpha- the line transparency valuenonStrokingAlpha- the fill transparency valuelineWidth- the width of the lines
-
Circle
public Circle(float[] rect, int flags, float[] lineColor, float[] fillColor, float strokingAlpha, float nonStrokingAlpha, float lineWidth) Create a new Circle 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)lineColor- the line color of the annotationfillColor- the fill colorstrokingAlpha- the line transparency valuenonStrokingAlpha- the fill transparency valuelineWidth- the width of the lines
-
Circle
public Circle(float[] rect, int flags, String contents, float[] lineColor, float[] fillColor, float strokingAlpha, float nonStrokingAlpha, String title, float lineWidth) Create a new Circle 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 nulllineColor- the line color of the annotationfillColor- the fill colorstrokingAlpha- the line transparency valuenonStrokingAlpha- the fill transparency valuetitle- the text for the title barlineWidth- the width of the lines
-