note 76475 deleted from ref.image by nlopess

From: Date: Tue, 17 Jul 2007 14:56:03 +0000
Subject: note 76475 deleted from ref.image by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-128656@lists.php.net to get a copy of this message
Note Submitter: medjon ---- # Image Editing Functions # ======================= # resize(int width, int height) # resizes the image to proportions specified. # # crop(int x, int y, int width, int height) # crops the image starting at (x, y) into a rectangle # width wide and height high. # # addText(String str, int x, int y, Array color) # adds the string str to the image at position (x, y) # using the colour given in the Array color which # represents colour in RGB mode. # # addLine(int x1, int y1, int x2, int y2, Array color) # adds the line starting at (x1,y1) ending at (x2,y2) # using the colour given in the Array color which # represents colour in RGB mode. # # setSize(int size) # sets the size of the font to be used with addText() # # setFont(String font) # sets the font for use with the addText function. This # should be an absolute path to a true type font # # shadowText(String str, int x, int y, Array color1, Array color2, int shadowoffset) # creates show text, using the font specified by set font. # adds the string str to the image at position (x, y) # using the colour given in the Array color which # represents colour in RGB mode.

« previous php.notes (#128656) next »