Package diva.util

Examples of diva.util.UnitIterator


     */
    public Iterator figures() {
        if (_child == null) {
            return new NullIterator();
        } else {
            return new UnitIterator(_child);
        }
    }
View Full Code Here


        Figure hit = CanvasUtilities.pick(_children.getIntersectedFigures(
                region).figuresFromFront(), region);

        if ((hit == null) && (_background != null) && _background.hit(region)) {
            return CanvasUtilities.pick(new UnitIterator(_background), region);
        }

        return hit;
    }
View Full Code Here

        region = ShapeUtilities.transformBounds(region, at);

        Figure hit = CanvasUtilities.pick(figuresFromFront(), region, filter);

        if ((hit == null) && (_background != null) && _background.hit(region)) {
            return CanvasUtilities.pick(new UnitIterator(_background), region,
                    filter);
        }

        return hit;
    }
View Full Code Here

TOP

Related Classes of diva.util.UnitIterator

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.