protected static class BoxAnnotation.CartesianAnnotationPlacementStrategy extends AnnotationBase.CartesianAnnotationPlacementStrategyBase<BoxAnnotation>
BoxAnnotation
instanceselectionPath
annotation
Constructor and Description |
---|
CartesianAnnotationPlacementStrategy(BoxAnnotation annotation,
boolean clipAdornerToAnnotationSurface)
Creates a new instance of
BoxAnnotation.CartesianAnnotationPlacementStrategy class |
Modifier and Type | Method and Description |
---|---|
void |
placeAnnotation(AnnotationCoordinates coordinates,
CanvasLayout.LayoutParams layoutParams)
Places annotation with specific annotation coordinates
|
createAdornerActionForAnnotationHit, createAdornerActionForResizingGripWithIndex, drawAdorner, drawAdornerInternal, drawResizingGrips, drawSelectionOverlayInternal, getResizingGripHitIndex, internalMoveAnnotationTo, isCoordinateValid, isInBounds, moveAnnotationTo, moveBasePointTo, selectAdornerActionForPoint, updateSelectionOverlay
public CartesianAnnotationPlacementStrategy(BoxAnnotation annotation, boolean clipAdornerToAnnotationSurface)
BoxAnnotation.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)
coordinates
- The annotation coordinateslayoutParams
- The annotation layout params