diff --git a/methode2/splinelineblack/draw.php b/methode2/splinelineblack/draw.php index 9f63d47..c93c703 100644 --- a/methode2/splinelineblack/draw.php +++ b/methode2/splinelineblack/draw.php @@ -28,7 +28,12 @@ function DrawBlock($the_block, $vImage, $parametres) if (isset($parametres['font_RGB'])) $vFgRGB = $parametres['font_RGB']; if (isset($parametres['background_RGB'])) $vBgRGB = $parametres['background_RGB']; - // Une chance sur deux d'inverser entre fg et bg + // Redessiner entĂȘte et pied de page + $couleur=3; + if (rand(0,100) < 50) $couleur = 5; + blockchain::DrawBlockHeaderFooter($the_block, $vImage, $y, $couleur); + + // Forcer les couleurs $fondRGB=[0,0,0]; $fond=imagecolorallocate($vImage,$fondRGB[0],$fondRGB[1],$fondRGB[2]); $couleurRGB=[240,147,43];