applyToImage() applyToImage(\Intervention\Image\Image $image, int $x, int $y) : bool Draw polygon on given image Parameters \Intervention\Image\Image $image int $x int $y Returns bool —
border() border(int $width, string $color = null) : void Set border width and color of current shape Parameters int $width string $color
__construct() __construct(array $points) : mixed Create new polygon instance Parameters array $points Returns mixed —
formatPoints() formatPoints(array $points) : array Format polygon points to Imagick format Parameters array $points Returns array —