new RedactionSelectionModel(annotation, canModify, isSelected)
Creates a text selection model.
Parameters:
Name | Type | Description |
---|---|---|
annotation |
Annotations.Annotation | the annotation |
canModify |
boolean | indicates if the annotation can be modified |
isSelected |
Boolean | the annotation is already selected |