HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bdedition/public_html/core/vendor/intervention/image/src/Interfaces/DrawableInterface.php
<?php

declare(strict_types=1);

namespace Intervention\Image\Interfaces;

interface DrawableInterface
{
    /**
     * Position of the drawable object
     *
     * @return PointInterface
     */
    public function position(): PointInterface;

    /**
     * Set position of the drawable object
     *
     * @param PointInterface $position
     * @return DrawableInterface
     */
    public function setPosition(PointInterface $position): self;

    /**
     * Set the background color of the drawable object
     *
     * @param mixed $color
     * @return DrawableInterface
     */
    public function setBackgroundColor(mixed $color): self;

    /**
     * Return background color of drawable object
     *
     * @return mixed
     */
    public function backgroundColor(): mixed;

    /**
     * Determine if a background color was set
     *
     * @return bool
     */
    public function hasBackgroundColor(): bool;

    /**
     * Set border color & size of the drawable object
     *
     * @param mixed $color
     * @param int $size
     * @return DrawableInterface
     */
    public function setBorder(mixed $color, int $size = 1): self;

    /**
     * Set border size of the drawable object
     *
     * @param int $size
     * @return DrawableInterface
     */
    public function setBorderSize(int $size): self;

    /**
     * Set border color of the drawable object
     *
     * @param mixed $color
     * @return DrawableInterface
     */
    public function setBorderColor(mixed $color): self;

    /**
     * Get border size
     *
     * @return int
     */
    public function borderSize(): int;

    /**
     * Get border color of drawable object
     *
     * @return mixed
     */
    public function borderColor(): mixed;

    /**
     * Determine if the drawable object has a border
     *
     * @return bool
     */
    public function hasBorder(): bool;
}