Package qupath.lib.objects
Class PathAnnotationObject
java.lang.Object
qupath.lib.objects.PathObject
qupath.lib.objects.PathROIObject
qupath.lib.objects.PathAnnotationObject
- All Implemented Interfaces:
- Externalizable,- Serializable,- MinimalMetadataStore
An annotation PathObject.
 
These tend to be larger and less common than PathDetectionObjects.
As such, they can be represented and displayed with more emphasis on flexibility, rather than efficiency.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet a free text description previously set for this annotation.voidsetDescription(String text) Set a free text description for this annotation.Methods inherited from class qupath.lib.objects.PathROIObjectgetClassProbability, getPathClass, getROI, isEditable, isLocked, readExternal, setLocked, setPathClass, setROI, writeExternalMethods inherited from class qupath.lib.objects.PathObjectaddChildObject, addChildObjects, clearChildObjects, clearMetadataMap, createEmptyMeasurementList, getChildObjects, getChildObjects, getChildObjectsAsArray, getClassification, getClassifications, getColor, getDescendantObjects, getDisplayedName, getID, getLevel, getMeasurementList, getMeasurements, getMetadata, getName, getParent, getUnmodifiableMetadataMap, hasChildObjects, hasMeasurements, hasMetadata, hasROI, isAnnotation, isCell, isDetection, isRootObject, isTile, isTMACore, nChildObjects, nDescendants, objectCountPostfix, refreshID, removeChildObject, removeChildObjects, resetPathClass, retrieveMetadataKeys, retrieveMetadataValue, setClassification, setClassification, setClassifications, setColor, setColor, setID, setName, setPathClass, storeMetadataValue, toString
- 
Constructor Details- 
PathAnnotationObjectpublic PathAnnotationObject()Default constructor. Should not be used directly, instead usePathObjects.createAnnotationObject(ROI).
 
- 
- 
Method Details- 
setDescriptionSet a free text description for this annotation.- Parameters:
- text- to use as a description; if null, any existing description will be removed
 
- 
getDescriptionGet a free text description previously set for this annotation.- Returns:
 
 
-