Manuál PHP | ||
---|---|---|
Předcházející | Další |
imageline
Popis
bool imageline ( resource image, int x1, int y1, int x2, int y2, int color )imageline() draws a line between the two given points.
Seznam parametrů
image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
x1
x-coordinate for first point
y1
y-coordinate for first point
x2
x-coordinate for second point
y2
y-coordinate for second point
color
The line color. A color identifier created with imagecolorallocate()
Příklady
Předcházející | Domů | Další |
imagelayereffect | Nahoru |