imagesetstyle
Opis
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.
Parametry
obraz
Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().
style
An array of pixel colors. You can use the IMG_COLOR_TRANSPARENT constant to add a transparent pixel.
Przykłady
Following example script draws a dashed line from upper left to lower right corner of the canvas:
Poprzedni | Spis treści | Następny |
imagesetpixel | Początek rozdziału |