java.lang.Object
com.saperion.ngc.viewer.hylandviewer.annotation.json.Annotation
com.saperion.ngc.viewer.hylandviewer.annotation.json.text.TextAnnotation

public class TextAnnotation extends Annotation
Contains configuration for Text Annotation
Author:
schowdhury
  • Constructor Details

    • TextAnnotation

      public TextAnnotation()
    • TextAnnotation

      public TextAnnotation(com.saperion.hyrcs.models.DocDimension docDimension, boolean editMode)
  • Method Details

    • getType

      public AnnotationType getType()
      Specified by:
      getType in class Annotation
    • getText

      public String getText()
    • getFontFamily

      public String getFontFamily()
    • getFontSize

      public int getFontSize()
    • getFontColor

      public String getFontColor()
    • isFontItalic

      public boolean isFontItalic()
    • isFontBold

      public boolean isFontBold()
    • isFontUnderline

      public boolean isFontUnderline()
    • isFontStrikeThrough

      public boolean isFontStrikeThrough()
    • isFontOverflow

      public boolean isFontOverflow()
    • getTextAlignment

      public String getTextAlignment()
    • getRadius

      public int getRadius()
    • getPadding

      public int getPadding()
    • 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 class Annotation
      Parameters:
      section - contains information about an annotation (e.g. - annotation type and key value pairs)