Shape Annotation
Abstract base-class of all shape annotations: LineAnnotation, SquareAnnotation, CircleAnnotation, PolygonAnnotation, PolylineAnnotation. Shape annotations can also be measurement annotations if created using the measurement tools included with the Measurement Tools license component.
Inheritors
Properties
Returns true when the annotation is a measurement annotation. Measurement annotations can be:
Returns the MeasurementPrecision of this shape annotation if this is a measurement, null if not. This information can also be taken from Annotation.measurementInfo.
Returns the Scale of this shape annotation if this is a measurement, null if not. This information can also be taken from Annotation.measurementInfo.
Returns the minimum size of the annotation.
Functions
Sets the MeasurementPrecision of this shape annotation. Throws an InvalidNutrientLicenseException if measurement tools are not licensed.
Sets the Scale of this shape annotation. Throws an InvalidNutrientLicenseException if measurement tools are not licensed.
Annotations may override this method to transform their properties (i.e. points, rects, sizes) whenever the bounding box of the annotation changed.