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