updateTransformationProperties

abstract fun updateTransformationProperties(@NonNull newBoundingBox: RectF, @NonNull oldBoundingBox: RectF)

Annotations may override this method to transform their properties (i.e. points, rects, sizes) whenever the bounding box of the annotation changed.

Parameters

newBoundingBox

New bounding box of the annotation (in PDF points).

oldBoundingBox

Old bounding box of the annotation (in PDF points).