Class ImageAnnotation.CartesianAnnotationPlacementStrategy
Defines a base placement strategy for ImageAnnotation instance
Inheritance
ImageAnnotation.CartesianAnnotationPlacementStrategy
Inherited Members
Namespace:
Assembly: .dll
Syntax
protected class ImageAnnotation.CartesianAnnotationPlacementStrategy extends AnnotationBase.CartesianAnnotationPlacementStrategyBase<ImageAnnotation>
Constructors
CartesianAnnotationPlacementStrategy(ImageAnnotation annotation, boolean clipAdornerToAnnotationSurface)
Creates a new instance of CartesianAnnotationPlacementStrategy class
Declaration
protected CartesianAnnotationPlacementStrategy(ImageAnnotation annotation, boolean clipAdornerToAnnotationSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| ImageAnnotation | annotation | The annotation to place |
| boolean | clipAdornerToAnnotationSurface | If true adorner for annotation should be clipped to its parent IAnnotationSurface |
Methods
placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)
Declaration
public void placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)
Parameters
| Type | Name | Description |
|---|---|---|
| AnnotationCoordinates | coordinates | |
| CanvasLayout.LayoutParams | layoutParams |