Class LineAnnotation
- java.lang.Object
-
- com.saperion.ngc.viewer.hylandviewer.annotation.json.Annotation
-
- com.saperion.ngc.viewer.hylandviewer.annotation.json.line.LineAnnotation
-
public class LineAnnotation extends Annotation
Contains configuration for Line Annotation- Author:
- schowdhury
-
-
Constructor Summary
Constructors Constructor Description LineAnnotation()LineAnnotation(com.saperion.hyrcs.models.DocDimension docDimension, boolean editMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(Section section)This is an abstract method for filling up the annotation configuration by different types of annotations subclassesLineCapgetLineCap()LineMarkergetMarkerEnd()LineMarkergetMarkerStart()AnnotationTypegetType()booleanisReverseX()booleanisReverseY()-
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:
getTypein classAnnotation
-
isReverseX
public boolean isReverseX()
-
isReverseY
public boolean isReverseY()
-
getMarkerStart
public LineMarker getMarkerStart()
-
getMarkerEnd
public LineMarker getMarkerEnd()
-
getLineCap
public LineCap getLineCap()
-
draw
public void draw(Section section)
Description copied from class:AnnotationThis is an abstract method for filling up the annotation configuration by different types of annotations subclasses- Specified by:
drawin classAnnotation- Parameters:
section- contains information about an annotation (e.g. - annotation type and key value pairs)
-
-