Class MaskUnion2D

java.lang.Object
com.sk89q.worldedit.function.mask.MaskIntersection2D
com.sk89q.worldedit.function.mask.MaskUnion2D
All Implemented Interfaces:
Mask2D

public class MaskUnion2D extends MaskIntersection2D
Tests true if any contained mask is true, even if it just one.
  • Constructor Details

    • MaskUnion2D

      public MaskUnion2D(Collection<Mask2D> masks)
      Create a new union.
      Parameters:
      masks - a list of masks
    • MaskUnion2D

      public MaskUnion2D(Mask2D... mask)
      Create a new union.
      Parameters:
      mask - a list of masks
  • Method Details