Function.imagesetstyle
Aus PHP-Wiki
Lebensversicherung und kfz-versicherung, Hundehalterhaftpflichtversicherungen Vergleich Online anfordern - Die Vertragsdetails? . Typklassen
imagesetstyle — Set the style for line drawing
Inhaltsverzeichnis |
Beschreibung
bool imagesetstyle ( resource $image , array $style )
imagesetstyle() sets the style to be used by all
line drawing functions (such as imageline()
and imagepolygon()) when drawing with the special
color IMG_COLOR_STYLED or lines of images with color
IMG_COLOR_STYLEDBRUSHED.
Parameter-Liste
- image
- Eine von den verschiedenen Erzeugungsfunktionen wie imagecreatetruecolor() gelieferte Grafikresource.
- style
- An array of pixel colors. You can use the IMG_COLOR_TRANSPARENT constant to add a transparent pixel.
Rückgabewerte
Gibt bei Erfolg TRUE zurück, im Fehlerfall FALSE.
Beispiele
Following example script draws a dashed line from upper left to lower right corner of the canvas: === #1 imagesetstyle() example
<?php header("Content=== ==Siehe auch== * [[function.imagesetbrush|imagesetbrush()]] * [[function.imageline|imageline()]] [[Kategorie:PHP 4|I]] [[Kategorie:PHP 5|I]] [[Kategorie:Image Funktionen|I]]