sixty-nine/php-cloud-lib

View on GitHub
src/SixtyNine/Cloud/Usher/MaskInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace SixtyNine\Cloud\Usher;

use Imagine\Image\PointInterface;
use SixtyNine\DataTypes\Box;

interface MaskInterface
{
    /**
     * @param Box $box
     * @return bool
     */
    public function overlaps(Box $box);

    /**
     * @param \Imagine\Image\PointInterface $position
     * @param Box $box
     */
    public function add(PointInterface $position, Box $box);
}