Class RectangleAnnotation
- java.lang.Object
-
- com.saperion.ngc.viewer.hylandviewer.annotation.json.Annotation
-
- com.saperion.ngc.viewer.hylandviewer.annotation.json.rectangle.RectangleAnnotation
-
public class RectangleAnnotation extends Annotation
Contains configuration for Rectangle Annotation- Author:
- schowdhury
-
-
Constructor Summary
Constructors Constructor Description RectangleAnnotation()
RectangleAnnotation(com.saperion.hyrcs.models.DocDimension docDimension, boolean editMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Section section)
This is an abstract method for filling up the annotation configuration by different types of annotations subclassesAnnotationType
getType()
-
Methods inherited from class com.saperion.ngc.viewer.hylandviewer.annotation.json.Annotation
getAnnId, getFillColor, getHeight, getOpacity, getPageNo, getStroke, getWidth, getX, getY, isFillable, isFixRotation, isMovable, isResizable, normalizeX, normalizeY, setAnnId, setPageNo
-
-
-
-
Method Detail
-
getType
public AnnotationType getType()
- Specified by:
getType
in classAnnotation
-
draw
public void draw(Section section)
Description copied from class:Annotation
This is an abstract method for filling up the annotation configuration by different types of annotations subclasses- Specified by:
draw
in classAnnotation
- Parameters:
section
- contains information about an annotation (e.g. - annotation type and key value pairs)
-
-