public class MaskIntersection extends AbstractMask
| Constructor and Description |
|---|
MaskIntersection(Collection<Mask> masks)
Create a new intersection.
|
MaskIntersection(Mask... mask)
Create a new intersection.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Collection<Mask> masks)
Add some masks to the list.
|
void |
add(Mask... mask)
Add some masks to the list.
|
Collection<Mask> |
getMasks()
Get the masks that are tested with.
|
boolean |
test(Vector vector)
Returns true if the criteria is met.
|
Mask2D |
toMask2D()
Get the 2D version of this mask if one exists.
|
public MaskIntersection(Collection<Mask> masks)
masks - a list of maskspublic MaskIntersection(Mask... mask)
mask - a list of maskspublic void add(Collection<Mask> masks)
masks - the maskspublic void add(Mask... mask)
mask - the maskspublic Collection<Mask> getMasks()
public boolean test(Vector vector)
Maskvector - the vector to testCopyright © 2010-2014. All Rights Reserved.