Class IFigure.NoInsets

java.lang.Object
org.eclipse.draw2d.geometry.Insets
org.eclipse.draw2d.IFigure.NoInsets
All Implemented Interfaces:
Serializable, Cloneable
Enclosing interface:
IFigure

public static class IFigure.NoInsets extends Insets
Insets that are all 0. Always returns true for isEmpty().
See Also:
  • Method Details

    • isEmpty

      public boolean isEmpty()
      Description copied from class: Insets
      Returns true if all values are 0.
      Overrides:
      isEmpty in class Insets
      Returns:
      true if all values are 0