Class Circle


public final class Circle extends Annotation
Defines a Circle annotation.

Circle annotations shall display an ellipse on the page.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Circle(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

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 box
      lineColor - the line color of the annotation
      fillColor - the fill color
      strokingAlpha - the line transparency value
      nonStrokingAlpha - the fill transparency value
      lineWidth - 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 box
      flags - the annotation's flags. See Annotation.getFlagsValue(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)
      lineColor - the line color of the annotation
      fillColor - the fill color
      strokingAlpha - the line transparency value
      nonStrokingAlpha - the fill transparency value
      lineWidth - 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 box
      flags - the annotation's flags. See Annotation.getFlagsValue(boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean)
      contents - text that shall be displayed or null
      lineColor - the line color of the annotation
      fillColor - the fill color
      strokingAlpha - the line transparency value
      nonStrokingAlpha - the fill transparency value
      title - the text for the title bar
      lineWidth - the width of the lines