Package com.pspdfkit.annotations
Class UnderlineAnnotation
-
- All Implemented Interfaces:
public class UnderlineAnnotation extends TextMarkupAnnotation
Represents underlined text on the page.
-
-
Constructor Summary
Constructors Constructor Description UnderlineAnnotation(int pageIndex, List<RectF> rects)
Creates a new underline annotation. UnderlineAnnotation(AnnotationPropertyManager properties, boolean markDirty)
Intended for internal usage only
-
Method Summary
Modifier and Type Method Description AnnotationType
getType()
Gets the annotation type of the annotation. -
-
Constructor Detail
-
UnderlineAnnotation
UnderlineAnnotation(int pageIndex, List<RectF> rects)
Creates a new underline annotation.- Parameters:
pageIndex
- Page to which this annotation will be attached to.rects
- Rectangles that represent underlined text for this annotation.
-
UnderlineAnnotation
UnderlineAnnotation(AnnotationPropertyManager properties, boolean markDirty)
Intended for internal usage only
-
-
Method Detail
-
getType
@NonNull() AnnotationType getType()
Gets the annotation type of the annotation.
- Returns:
The type of the annotation. Makes down casting easier.
-
-
-
-