Search Results for

    Show / Hide Table of Contents

    Class LineAnnotationBase.CartesianAnnotationPlacementStrategy<T>

    Defines a base placement strategy for LineAnnotationBase instance

    Inheritance
    java.lang.Object
    AnnotationPlacementStrategyBase<T>
    AnnotationBase.CartesianAnnotationPlacementStrategyBase
    LineAnnotationBase.CartesianAnnotationPlacementStrategy<T>
    Inherited Members
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.createAdornerActionForAnnotationHit()
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.createAdornerActionForResizingGripWithIndex(int,int,int)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawAdorner(Canvas)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawAdornerInternal(Canvas,AnnotationCoordinates)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawResizingGrips(Canvas,AnnotationCoordinates)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawSelectionOverlayInternal(Canvas,AnnotationCoordinates)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.getResizingGripHitIndex(float,float,AnnotationCoordinates)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.internalMoveAnnotationTo(AnnotationCoordinates,float,float,IAnnotationSurface)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.isCoordinateValid(float,int)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.isInBounds(AnnotationCoordinates,IAnnotationSurface)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.moveAnnotationTo(AnnotationCoordinates,float,float,IAnnotationSurface)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.moveBasePointTo(float,float,int)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.selectAdornerActionForPoint(float,float,IAdornerLayer)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.updateSelectionOverlay(Path,AnnotationCoordinates)
    Object.clone()
    Object.equals(Object)
    Object.finalize()
    Object.getClass()
    Object.hashCode()
    Object.notify()
    Object.notifyAll()
    Object.toString()
    Object.wait()
    Object.wait(long)
    Object.wait(long,int)
    Namespace:
    Assembly: .dll
    Syntax
    protected static class LineAnnotationBase.CartesianAnnotationPlacementStrategy<T> extends AnnotationBase.CartesianAnnotationPlacementStrategyBase<T>
    Type Parameters
    Name Description
    T

    Constructors

    CartesianAnnotationPlacementStrategy(T annotation, boolean clipAdornerToAnnotationSurface)

    Creates a new instance of CartesianAnnotationPlacementStrategy class

    Declaration
    protected CartesianAnnotationPlacementStrategy(T annotation, boolean clipAdornerToAnnotationSurface)
    Parameters
    Type Name Description
    T annotation

    The annotation to place

    boolean clipAdornerToAnnotationSurface

    If true adorner for annotation should be clipped to its parent IAnnotationSurface

    Methods

    drawResizingGrips(Canvas canvas, AnnotationCoordinates annotationCoordinates)

    Draws resizing grips for parent annotation

    Declaration
    protected void drawResizingGrips(Canvas canvas, AnnotationCoordinates annotationCoordinates)
    Parameters
    Type Name Description
    android.graphics.Canvas canvas
    AnnotationCoordinates annotationCoordinates
    Overrides
    AnnotationBase.CartesianAnnotationPlacementStrategyBase<T>.drawResizingGrips(Canvas canvas, AnnotationCoordinates annotationCoordinates)

    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
    Type Name Description
    float hitPointX
    float hitPointY
    AnnotationCoordinates annotationCoordinates
    Returns
    Type Description
    int
    Overrides
    AnnotationBase.CartesianAnnotationPlacementStrategyBase<T>.getResizingGripHitIndex(float hitPointX, float hitPointY, AnnotationCoordinates annotationCoordinates)

    placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)

    Declaration
    public void placeAnnotation(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams)
    Parameters
    Type Name Description
    AnnotationCoordinates coordinates
    CanvasLayout.LayoutParams layoutParams

    updateSelectionOverlay(Path selectionPath, AnnotationCoordinates annotationCoordinates)

    Updates the shape of selection overlay for parent AnnotationBase

    Declaration
    protected void updateSelectionOverlay(Path selectionPath, AnnotationCoordinates annotationCoordinates)
    Parameters
    Type Name Description
    android.graphics.Path selectionPath
    AnnotationCoordinates annotationCoordinates
    Overrides
    AnnotationBase.CartesianAnnotationPlacementStrategyBase<T>.updateSelectionOverlay(Path selectionPath, AnnotationCoordinates annotationCoordinates)
    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml