imageline
Opis
bool imageline ( resource image, int x1, int y1, int x2, int y2, int color )imageline() draws a line between the two given points.
Parametry
obrazZasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().
x1x-coordinate for first point
y1y-coordinate for first point
x2x-coordinate for second point
y2y-coordinate for second point
colorThe line color. A color identifier created with imagecolorallocate()
Przykłady
| Poprzedni | Spis treści | Następny |
| imagelayereffect | Początek rozdziału |