Search Results for

    Show / Hide Table of Contents

    Class HorizontalLineAnnotation.CartesianAnnotationPlacementStrategy

    Defines a placement strategy for HorizontalLineAnnotation instance

    Inheritance
    java.lang.Object
    AnnotationPlacementStrategyBase<T>
    AnnotationBase.CartesianAnnotationPlacementStrategyBase<T>
    LineAnnotationBase.CartesianAnnotationPlacementStrategy<T>
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase
    HorizontalLineAnnotation.CartesianAnnotationPlacementStrategy
    Inherited Members
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.createAdornerActionForAnnotationHit()
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.createAdornerActionForResizingGripWithIndex(int,int,int)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawAdorner(Canvas)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawAdornerInternal(Canvas,AnnotationCoordinates)
    AnnotationBase.CartesianAnnotationPlacementStrategyBase.drawSelectionOverlayInternal(Canvas,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)
    LineAnnotationBase.CartesianAnnotationPlacementStrategy.drawResizingGrips(Canvas,AnnotationCoordinates)
    LineAnnotationBase.CartesianAnnotationPlacementStrategy.getResizingGripHitIndex(float,float,AnnotationCoordinates)
    LineAnnotationBase.CartesianAnnotationPlacementStrategy.updateSelectionOverlay(Path,AnnotationCoordinates)
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase.createAdornerActionForAnnotationLabel(AnnotationLabel)
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase.placeAnnotation(AnnotationCoordinates,CanvasLayout.LayoutParams)
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase.placeAnnotationLabel(AnnotationCoordinates,CanvasLayout.LayoutParams,LabelPlacement)
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase.selectAdornerActionForPoint(float,float,IAdornerLayer)
    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 HorizontalLineAnnotation.CartesianAnnotationPlacementStrategy extends LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase<HorizontalLineAnnotation>

    Constructors

    CartesianAnnotationPlacementStrategy(HorizontalLineAnnotation annotation, boolean clipAdornerToAnnotationSurface)

    Creates a new instance of LineAnnotationBase.CartesianAnnotationPlacementStrategy class

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

    The annotation to place

    boolean clipAdornerToAnnotationSurface

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

    Methods

    createAdornerActionForAnnotationLabel(AnnotationLabel label)

    Creates a IAnnotationAdornerAction for specified annotation label

    Declaration
    protected IAnnotationAdornerAction createAdornerActionForAnnotationLabel(AnnotationLabel label)
    Parameters
    Type Name Description
    AnnotationLabel label
    Returns
    Type Description
    IAnnotationAdornerAction
    Overrides
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase<T>.createAdornerActionForAnnotationLabel(AnnotationLabel label)

    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
    LineAnnotationBase.CartesianAnnotationPlacementStrategy<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
    LineAnnotationBase.CartesianAnnotationPlacementStrategy<T>.getResizingGripHitIndex(float hitPointX, float hitPointY, AnnotationCoordinates annotationCoordinates)

    placeAnnotationLabel(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams, LabelPlacement labelPlacement)

    Places AnnotationLabel instance with specific annotation coordinates

    Declaration
    protected void placeAnnotationLabel(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams, LabelPlacement labelPlacement)
    Parameters
    Type Name Description
    AnnotationCoordinates coordinates
    CanvasLayout.LayoutParams layoutParams
    LabelPlacement labelPlacement
    Overrides
    LineAnnotationWithLabelsBase.CartesianAnnotationWithLabelsPlacementStrategyBase<T>.placeAnnotationLabel(AnnotationCoordinates coordinates, CanvasLayout.LayoutParams layoutParams, LabelPlacement labelPlacement)

    updateSelectionOverlay(Path selectionPath, AnnotationCoordinates coordinates)

    Updates the shape of selection overlay for parent AnnotationBase

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