java.lang.Object | |||
↳ | com.pspdfkit.annotations.Annotation | ||
↳ | com.pspdfkit.annotations.ShapeAnnotation | ||
↳ | com.pspdfkit.annotations.CircleAnnotation |
Represents a circle on the page.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AnnotationType |
getType()
Gets the annotation type of the annotation.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MeasurementLabelValue |
getMeasurementLabelValue(MeasurementProperties measurementProperties)
Return the measurement label and value for this annotation if it is a measurement.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new circle annotation.
pageIndex | Page to which this annotation will be attached to. |
---|---|
rect | Bounding rectangle for this circle. |
Creates a measurement elliptical area annotation. Will throw an exception if Measurement Tools are not licensed.
pageIndex | Page to which this annotation will be attached to. |
---|---|
rect | Bounding rectangle for this circle. |
scale | Measurement Scale for the annotation. |
precision | Measurement MeasurementPrecision for the annotation.
|
Gets the annotation type of the annotation.
Return the measurement label and value for this annotation if it is a measurement. Returns null if it's not a measurement. Overridden in child shape annotations who can be measurements. Calculates the measurement value based on the passed `measurementProperties` and shape size.
measurementProperties | the properties for this measurement. Including Scale and MeasurementPrecision . |
---|