public class BoundedHeightMask extends AbstractMask
| Constructor and Description |
|---|
BoundedHeightMask(int minY,
int maxY)
Create a new bounded height mask.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(Vector vector)
Returns true if the criteria is met.
|
Mask2D |
toMask2D()
Get the 2D version of this mask if one exists.
|
public BoundedHeightMask(int minY,
int maxY)
minY - the minimum YmaxY - the maximum Y (must be equal to or greater than minY)Copyright © 2010-2014. All Rights Reserved.