public class FlatRegionMaskingFilter extends Object implements FlatRegionFunction
apply(com.sk89q.worldedit.Vector2D) to the
delegate FlatRegionFunction if they
match the given mask.| Constructor and Description |
|---|
FlatRegionMaskingFilter(Mask2D mask,
FlatRegionFunction function)
Create a new masking filter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(Vector2D position)
Apply the function to the given position.
|
public FlatRegionMaskingFilter(Mask2D mask, FlatRegionFunction function)
mask - the maskfunction - the delegate function to callpublic boolean apply(Vector2D position) throws WorldEditException
FlatRegionFunctionapply in interface FlatRegionFunctionposition - the positionWorldEditException - thrown on an errorCopyright © 2010-2014. All Rights Reserved.