-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathBox.php
More file actions
23 lines (15 loc) · 544 Bytes
/
Box.php
File metadata and controls
23 lines (15 loc) · 544 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespace SimonHamp\TheOg\Interfaces;
use Intervention\Image\Geometry\Point;
use Intervention\Image\Interfaces\ImageInterface;
use Intervention\Image\Interfaces\SizeInterface;
use SimonHamp\TheOg\Layout\Position;
interface Box
{
public function setCanvas(ImageInterface $canvas): static;
public function anchor(?Position $position = null): Point;
public function name(string $name): static;
public function getName(): ?string;
public function dimensions(): SizeInterface;
public function render(): void;
}