Search Results for

    Show / Hide Table of Contents

    Interface IResizingGrip

    Defines the interface for Resizing Grip which is used to resize IAnnotation instance

    Namespace:
    Assembly: .dll
    Syntax
    public interface IResizingGrip

    Methods

    isHit(float xHitPoint, float yHitPoint, float xDrawnCoord, float yDrawnCoord)

    Checks whether this reising grip is hit

    Declaration
    public abstract boolean isHit(float xHitPoint, float yHitPoint, float xDrawnCoord, float yDrawnCoord)
    Parameters
    Type Name Description
    float xHitPoint

    The x coordinate of hit test point in pixels

    float yHitPoint

    The y coordinate of hit test point in pixels

    float xDrawnCoord

    The x coordinate of point where resizing grip was drawn

    float yDrawnCoord

    The y coordinate of point where resizing grip was drawn

    Returns
    Type Description
    boolean

    True if hit test point is within resizing grip, otherwise false

    onDraw(Canvas canvas, float x, float y)

    Draw this resizing grip at specified point

    Declaration
    public abstract void onDraw(Canvas canvas, float x, float y)
    Parameters
    Type Name Description
    android.graphics.Canvas canvas

    The Canvas to draw resizing grip on

    float x

    The x coordinate of point to draw in pixels

    float y

    The y coordiante of point to draw in pixels

    Back to top © 2011-2025 SciChart. All rights reserved. | sitemap.xml