Package misc

Examples of misc.Rect


    int height = getHeight();

    int horizontalSpacing = (int) (width * SPACING_RATIO);
    int verticalSpacing = (int) (height * SPACING_RATIO);

    Rect gripperArea = Rect.createWithMeasures(0, 0, gripperAreaWidth, height);
    Rect backgroundArea = Rect.create(gripperAreaWidth, 0, width, height);
    Rect graphicArea = Rect.create(backgroundArea.getLeft() + horizontalSpacing,
        verticalSpacing, width - horizontalSpacing, height - verticalSpacing);

    manager.updateRegions(gripperArea, backgroundArea, graphicArea);
  }
View Full Code Here

TOP

Related Classes of misc.Rect

Copyright © 2018 www.massapicom. 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.