Class TextAnnotation.CartesianAnnotationPlacementStrategy
Defines a base placement strategy for TextAnnotation instance
Inheritance
TextAnnotation.CartesianAnnotationPlacementStrategy
Inherited Members
Namespace:
Assembly: .dll
Syntax
protected static class TextAnnotation.CartesianAnnotationPlacementStrategy extends TextAnnotationBase.CartesianTextAnnotationPlacementStrategyBase<TextAnnotation>
Constructors
CartesianAnnotationPlacementStrategy(TextAnnotation annotation, boolean clipAdornerToAnnotationSurface)
Creates a new instance of CartesianAnnotationPlacementStrategy class
Declaration
protected CartesianAnnotationPlacementStrategy(TextAnnotation annotation, boolean clipAdornerToAnnotationSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| TextAnnotation | 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 |