Package com.pspdfkit.annotations
Class CircleAnnotation
-
- All Implemented Interfaces:
public class CircleAnnotation extends ShapeAnnotation
Represents a circle on the page.
-
-
Constructor Summary
Constructors Constructor Description CircleAnnotation(int pageIndex, RectF rect)
Creates a new circle annotation. CircleAnnotation(int pageIndex, RectF rect, Scale scale, MeasurementPrecision precision)
Creates a measurement elliptical area annotation. CircleAnnotation(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
-
CircleAnnotation
CircleAnnotation(int pageIndex, RectF rect)
Creates a new circle annotation.- Parameters:
pageIndex
- Page to which this annotation will be attached to.rect
- Bounding rectangle for this circle.
-
CircleAnnotation
CircleAnnotation(int pageIndex, RectF rect, Scale scale, MeasurementPrecision precision)
Creates a measurement elliptical area annotation.- Parameters:
pageIndex
- Page to which this annotation will be attached to.rect
- Bounding rectangle for this circle.scale
- Measurement com.pspdfkit.annotations.measurements.Scale for the annotation.precision
- Measurement MeasurementPrecision for the annotation.
-
CircleAnnotation
CircleAnnotation(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.
-
-
-
-