Class ExcludedAreas
- java.lang.Object
-
- com.github.romankh3.image.comparison.model.ExcludedAreas
-
public class ExcludedAreas extends java.lang.ObjectThe area that will be excluded, masked, in the image.
-
-
Constructor Summary
Constructors Constructor Description ExcludedAreas()Create empty instance of theExcludedAreas.ExcludedAreas(java.util.List<Rectangle> excluded)Create instance of theExcludedAreaswith providedRectangleareas.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(java.awt.Point point)java.util.List<Rectangle>getExcluded()
-
-
-
Constructor Detail
-
ExcludedAreas
public ExcludedAreas()
Create empty instance of theExcludedAreas.
-
ExcludedAreas
public ExcludedAreas(java.util.List<Rectangle> excluded)
Create instance of theExcludedAreaswith providedRectangleareas.- Parameters:
excluded- provided collection of theRectangleobjects.
-
-