Examples of HitTester


Examples of playn.core.Layer.HitTester

    }

    public GestureRegionDirector setLayer (Layer layer, IRectangle bounds) {
        remove();
        _bounds = bounds;
        layer.setHitTester(new HitTester() {
            @Override public Layer hitTest (Layer layer, Point p) {
                return _bounds.contains(p.x, p.y) ? layer : null;
            }
        });
        _connection = layer.addListener(this);
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.