public abstract class

ShapeAnnotation

extends Annotation
java.lang.Object
   ↳ com.pspdfkit.annotations.Annotation
     ↳ com.pspdfkit.annotations.ShapeAnnotation
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Abstract base-class of all shape annotations: LineAnnotation, SquareAnnotation, CircleAnnotation, PolygonAnnotation, PolylineAnnotation.

Summary

[Expand]
Inherited Constants
From class com.pspdfkit.annotations.Annotation
[Expand]
Inherited Fields
From class com.pspdfkit.annotations.Annotation
Protected Constructors
ShapeAnnotation(int pageIndex)
Creates a new shape annotation on specified page.
Public Methods
Size getMinimumSize()
Returns the minimum size of the annotation.
[Expand]
Inherited Methods
From class com.pspdfkit.annotations.Annotation
From class java.lang.Object

Protected Constructors

protected ShapeAnnotation (int pageIndex)

Creates a new shape annotation on specified page.

Parameters
pageIndex Page to which this annotation will be attached to.

Public Methods

public Size getMinimumSize ()

Returns the minimum size of the annotation.

Returns
  • The minimum annotation size in PDF points.