Examples of bottomY()


Examples of dwlab.shapes.Shape.bottomY()

 
  public static void getEscribedRectangle( double minX, double minY, double maxX, double maxY, Margins result ) {
    Shape viewport = Camera.current.viewport;
    Camera.current.screenToField( viewport.leftX(), viewport.topY(), serviceVector00 );
    Camera.current.screenToField( viewport.rightX(), viewport.topY(), serviceVector10 );
    Camera.current.screenToField( viewport.leftX(), viewport.bottomY(), serviceVector01 );
    Camera.current.screenToField( viewport.rightX(), viewport.bottomY(), serviceVector11 );
    result.min.x = Math.min( Math.min( serviceVector00.x - minX, serviceVector10.x + maxX ),
        Math.min( serviceVector01.x - minX, serviceVector11.x + maxX ) );
    result.min.y = Math.min( Math.min( serviceVector00.y - minY, serviceVector10.y - minY ),
        Math.min( serviceVector01.y + maxY, serviceVector11.y + maxY ) );
View Full Code Here

Examples of dwlab.shapes.Shape.bottomY()

  public static void getEscribedRectangle( double minX, double minY, double maxX, double maxY, Margins result ) {
    Shape viewport = Camera.current.viewport;
    Camera.current.screenToField( viewport.leftX(), viewport.topY(), serviceVector00 );
    Camera.current.screenToField( viewport.rightX(), viewport.topY(), serviceVector10 );
    Camera.current.screenToField( viewport.leftX(), viewport.bottomY(), serviceVector01 );
    Camera.current.screenToField( viewport.rightX(), viewport.bottomY(), serviceVector11 );
    result.min.x = Math.min( Math.min( serviceVector00.x - minX, serviceVector10.x + maxX ),
        Math.min( serviceVector01.x - minX, serviceVector11.x + maxX ) );
    result.min.y = Math.min( Math.min( serviceVector00.y - minY, serviceVector10.y - minY ),
        Math.min( serviceVector01.y + maxY, serviceVector11.y + maxY ) );
    result.max.x = Math.max( Math.max( serviceVector00.x - minX, serviceVector10.x + maxX ),
View Full Code Here

Examples of org.timepedia.chronoscope.client.canvas.Bounds.bottomY()

   
    // Translate the view (x,y) point into an (x,y) point relative to
    // the OverviewAxisPanel.
    Bounds plotBounds = plot.getBounds();
    int x = getLocalX(event) - (int)plotBounds.x;
    int y = getLocalY(event) - (int)plotBounds.bottomY();

    final boolean isInAxisBounds = null == hiliteBounds ? false: overviewAxisBounds.inside(x, y);
    final boolean isDragging = uiAction.isDragging(overviewAxis);
   
    //log("onMouseMove(" + x + ", " + y + ")" + ": inAxisBounds=" + isInAxisBounds + "; uiAction.startX=" + uiAction.getEndX());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.