mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-25 18:19:22 +03:00
30 lines
626 B
PHP
30 lines
626 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Imagine package.
|
|
*
|
|
* (c) Bulat Shakirzyanov <mallluhuct@gmail.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Imagine\Image\Fill;
|
|
|
|
use Imagine\Image\Palette\Color\ColorInterface;
|
|
use Imagine\Image\PointInterface;
|
|
|
|
/**
|
|
* Interface for the fill
|
|
*/
|
|
interface FillInterface
|
|
{
|
|
/**
|
|
* Gets color of the fill for the given position
|
|
*
|
|
* @param PointInterface $position
|
|
*
|
|
* @return ColorInterface
|
|
*/
|
|
public function getColor(PointInterface $position);
|
|
}
|