Forum und email

imagesetthickness

(PHP 4 >= 4.0.6, PHP 5)

imagesetthickness — Set the thickness for line drawing

Popis

bool imagesetthickness ( resource $image , int $thickness )

imagesetthickness() sets the thickness of the lines drawn when drawing rectangles, polygons, ellipses etc. etc. to thickness pixels.

Parametre

image

An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

thickness

Vrátené hodnoty

Vracia TRUE pri úspechu alebe FALSE pri chybe.

Poznámky

Note: Táto funkcia vyžaduje GD 2.0.1 alebo novší.