/*
* @(#)ODGFigure.java
*
* Copyright (c) 2007 by the original authors of JHotDraw and all its
* contributors. All rights reserved.
*
* You may not use, copy or modify this file, except in compliance with the
* license agreement you entered into with the copyright holders. For details
* see accompanying license terms.
*/
package org.jhotdraw.samples.odg.figures;
import org.jhotdraw.draw.Figure;
/**
* ODGFigure.
*
* @author Werner Randelshofer
* @version $Id: ODGFigure.java 718 2010-11-21 17:49:53Z rawcoder $
*/
public interface ODGFigure extends Figure {
/**
* Returns true, if this figure is empty for one of the following
* reasons:
*
* - A group has no children
* - A path has less than two points
* - An ellipse or a rectangle has a width or a height of 0
* - A text has no characters
*
*/
public boolean isEmpty();
}
Ads help maintain this website.