public class

SquigglyAnnotation

extends TextMarkupAnnotation
java.lang.Object
   ↳ com.pspdfkit.annotations.Annotation
     ↳ com.pspdfkit.annotations.BaseRectsAnnotation
       ↳ com.pspdfkit.annotations.TextMarkupAnnotation
         ↳ com.pspdfkit.annotations.SquigglyAnnotation

Class Overview

Represents a squiggly text underline on the page.

Summary

[Expand]
Inherited Constants
From class com.pspdfkit.annotations.Annotation
[Expand]
Inherited Fields
From class com.pspdfkit.annotations.Annotation
Public Constructors
SquigglyAnnotation(int pageIndex, List<RectF> rects)
Creates a new squiggly annotation
Public Methods
AnnotationType getType()
Gets the annotation type of the annotation.
[Expand]
Inherited Methods
From class com.pspdfkit.annotations.TextMarkupAnnotation
From class com.pspdfkit.annotations.BaseRectsAnnotation
From class com.pspdfkit.annotations.Annotation
From class java.lang.Object

Public Constructors

public SquigglyAnnotation (int pageIndex, List<RectF> rects)

Creates a new squiggly annotation

Parameters
pageIndex Page to which this annotation will be attached to.
rects Rectangles that represent squiggly underlined text for this annotation.

Public Methods

public AnnotationType getType ()

Gets the annotation type of the annotation.

Returns
  • The type of the annotation. Makes down casting easier.