Class CustomAnnotation.CartesianAnnotationPlacementStrategy
Defines a base placement strategy for CustomAnnotation instance
Inheritance
CustomAnnotation.CartesianAnnotationPlacementStrategy
Inherited Members
Namespace:
Assembly: .dll
Syntax
protected static class CustomAnnotation.CartesianAnnotationPlacementStrategy extends AnchorPointAnnotation.CartesianAnchorPointAnnotationPlacementStrategyBase<CustomAnnotation>
Constructors
CartesianAnnotationPlacementStrategy(CustomAnnotation customAnnotation, boolean clipAdornerToAnnotationSurface)
Creates a new instance of CartesianAnnotationPlacementStrategy class
Declaration
protected CartesianAnnotationPlacementStrategy(CustomAnnotation customAnnotation, boolean clipAdornerToAnnotationSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomAnnotation | customAnnotation | The annotation to place |
| boolean | clipAdornerToAnnotationSurface | If true adorner for annotation should be clipped to its parent IAnnotationSurface |
Methods
isInBounds(AnnotationCoordinates coordinates, IAnnotationSurface annotationsSurface)
Declaration
public boolean isInBounds(AnnotationCoordinates coordinates, IAnnotationSurface annotationsSurface)
Parameters
| Type | Name | Description |
|---|---|---|
| AnnotationCoordinates | coordinates | |
| IAnnotationSurface | annotationsSurface |
Returns
| Type | Description |
|---|---|
| boolean |