net.lustlab.packer.Clipper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of packer Show documentation
Show all versions of packer Show documentation
Lightmap/glyph packer library
The newest version!
package net.lustlab.packer;
/**
* Clipper interface
* @author Edwin Jakobs ([email protected])
*/
public interface Clipper {
/**
* Determines if a rectangle should be inserted
* @param area the area of the candidate node in which the rectangle will be inserted
* @param rectangle the
* @return true if rectangle should be inserted into area
*/
boolean inside(Rectangle area, Rectangle rectangle);
}