Class EllipseAnnotation

All Implemented Interfaces:
PermissionsProvider<Annotation>, PropertiesProvider, com.levigo.jadice.web.shared.model.annotation.internal.JwtAnnotation, Serializable, org.jadice.util.base.MementoOriginator

public class EllipseAnnotation extends RectangleAnnotation
An annotation looking like an circle or ellipse.

An ellipse annotation could be used to surround something interesting part of the displayed document page. For this purpose it can be resized and changed its appearance color.

See Also:
  • Constructor Details

    • EllipseAnnotation

      public EllipseAnnotation()
  • Method Details

    • translate

      public void translate(double dx, double dy)
      Description copied from class: Annotation
      Translates this Annotation the indicated distance, to the right along the x coordinate axis, and downward along the y coordinate axis.
      Overrides:
      translate in class RectangleAnnotation
      Parameters:
      dx - the distance to move this Rectangle along the x axis
      dy - the distance to move this Rectangle along the y axis
    • copy

      public EllipseAnnotation copy()
      Specified by:
      copy in interface com.levigo.jadice.web.shared.model.annotation.internal.JwtAnnotation
      Overrides:
      copy in class RectangleAnnotation
    • copyAttributesTo

      protected void copyAttributesTo(Annotation annotation)
      Overrides:
      copyAttributesTo in class RectangleAnnotation
    • getShape

      public RectangularShape getShape()
      Description copied from class: ShapeBasedAnnotation
      Shape for render structure
      Overrides:
      getShape in class RectangleAnnotation
      Returns:
      Shape