public class OffsetMask2D extends AbstractMask2D
| Constructor and Description |
|---|
OffsetMask2D(Mask2D mask,
Vector2D offset)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Mask2D |
getMask()
Get the mask.
|
Vector2D |
getOffset()
Get the offset.
|
void |
setMask(Mask2D mask)
Set the mask.
|
void |
setOffset(Vector2D offset)
Set the offset.
|
boolean |
test(Vector2D vector)
Returns true if the criteria is met.
|
public Mask2D getMask()
public void setMask(Mask2D mask)
mask - the maskpublic Vector2D getOffset()
public void setOffset(Vector2D offset)
offset - the offsetCopyright © 2010-2014. All Rights Reserved.