protected static class TextAnnotation.CartesianAnnotationPlacementStrategy extends TextAnnotationBase.CartesianTextAnnotationPlacementStrategyBase<TextAnnotation>
TextAnnotation
instanceselectionPath
annotation
Modifier | Constructor and Description |
---|---|
protected |
CartesianAnnotationPlacementStrategy(TextAnnotation annotation,
boolean clipAdornerToAnnotationSurface)
Creates a new instance of
TextAnnotation.CartesianAnnotationPlacementStrategy class |
Modifier and Type | Method and Description |
---|---|
void |
placeAnnotation(AnnotationCoordinates coordinates,
CanvasLayout.LayoutParams layoutParams)
Places annotation with specific annotation coordinates
|
createAdornerActionForAnnotationHit
drawResizingGrips, getResizingGripHitIndex, internalMoveAnnotationTo
createAdornerActionForResizingGripWithIndex, drawAdorner, drawAdornerInternal, drawSelectionOverlayInternal, isCoordinateValid, isInBounds, moveAnnotationTo, moveBasePointTo, selectAdornerActionForPoint, updateSelectionOverlay
protected CartesianAnnotationPlacementStrategy(TextAnnotation annotation, boolean clipAdornerToAnnotationSurface)
TextAnnotation.CartesianAnnotationPlacementStrategy
classannotation
- The annotation to placeclipAdornerToAnnotationSurface
- If true adorner for annotation should be clipped to its parent IAnnotationSurface
public void placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)
placeAnnotation
in interface IAnnotationPlacementStrategy
placeAnnotation
in class AnchorPointAnnotation.CartesianAnchorPointAnnotationPlacementStrategyBase<TextAnnotation>
coordinates
- The annotation coordinateslayoutParams
- The annotation layout params