function pImage::setShadow
Search API
5.x pImage.class.php | pImage::setShadow($Enabled = TRUE, $Format = "") |
File
- inc/
pchart/ pchart/ class/ pImage.class.php, line 110
Class
Code
function setShadow($Enabled = TRUE, $Format = "")
{
$X = isset($Format ["X"]) ? $Format ["X"] : 2;
$Y = isset($Format ["Y"]) ? $Format ["Y"] : 2;
$R = isset($Format ["R"]) ? $Format ["R"] : 0;
$G = isset($Format ["G"]) ? $Format ["G"] : 0;
$B = isset($Format ["B"]) ? $Format ["B"] : 0;
$Alpha = isset($Format ["Alpha"]) ? $Format ["Alpha"] : 10;
$this->Shadow = $Enabled;
$this->ShadowX = $X;
$this->ShadowY = $Y;
$this->ShadowR = $R;
$this->ShadowG = $G;
$this->ShadowB = $B;
$this->Shadowa = $Alpha;
}