Class AxisLabelAnnotation.CartesianAnnotationPlacementStrategy
Inheritance
AxisLabelAnnotation.CartesianAnnotationPlacementStrategy
Namespace:
Assembly: .dll
Syntax
protected static class AxisLabelAnnotation.CartesianAnnotationPlacementStrategy extends TextAnnotationBase.CartesianTextAnnotationPlacementStrategyBase<AxisLabelAnnotation>
Constructors
CartesianAnnotationPlacementStrategy(AxisLabelAnnotation annotation, boolean clipAdornerToAnnotationSurface)
Declaration
protected CartesianAnnotationPlacementStrategy(AxisLabelAnnotation annotation, boolean clipAdornerToAnnotationSurface)
Parameters
Methods
createAdornerActionForResizingGripWithIndex(int resizingGripIndex, int resizingGripXOffset, int resizingGripYOffset)
Declaration
protected IAnnotationAdornerAction createAdornerActionForResizingGripWithIndex(int resizingGripIndex, int resizingGripXOffset, int resizingGripYOffset)
Parameters
| Type |
Name |
Description |
| int |
resizingGripIndex |
|
| int |
resizingGripXOffset |
|
| int |
resizingGripYOffset |
|
Returns
Overrides
drawResizingGrips(Canvas canvas, AnnotationCoordinates annotationCoordinates)
Draws resizing grips for parent annotation
Declaration
protected void drawResizingGrips(Canvas canvas, AnnotationCoordinates annotationCoordinates)
Parameters
Overrides
getResizingGripHitIndex(float hitPointX, float hitPointY, AnnotationCoordinates annotationCoordinates)
Gets the index of IResizingGrip for parent annotation at specified point on screen
Declaration
protected int getResizingGripHitIndex(float hitPointX, float hitPointY, AnnotationCoordinates annotationCoordinates)
Parameters
Returns
Overrides
internalMoveAnnotationTo(AnnotationCoordinates coordinates, float horizontalOffset, float verticalOffset, IAnnotationSurface annotationSurface)
Moves parent annotation in X, Y direction with specified offset in pixels
Declaration
protected void internalMoveAnnotationTo(AnnotationCoordinates coordinates, float horizontalOffset, float verticalOffset, IAnnotationSurface annotationSurface)
Parameters
Overrides
isInBounds(AnnotationCoordinates coordinates, IAnnotationSurface annotationsSurface)
Declaration
public boolean isInBounds(AnnotationCoordinates coordinates, IAnnotationSurface annotationsSurface)
Parameters
Returns
Overrides
placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)
Declaration
public void placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)
Parameters
Overrides