/*
 * @(#)FigureFilter.java 5.1
 *
 */

package CH.ifa.draw.framework;

import de.renew.draw.storables.ontology.Figure;

/**
 * Interface defining filters on figure objects.
 *
 * @deprecated The class will be removed in a later version. Use {@link de.renew.draw.storables.ontology.FigureFilter} instead.
 */
@FunctionalInterface
@Deprecated
public interface FigureFilter {
    /**
     * Decides whether given figure is marked as used.
     * @param figure figure to be checked
     * @return boolean, {@code true} if used
     */
    boolean isUsed(Figure figure);
}