PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of ben   Button Maker Lite   readme.txt   Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: readme
Class: Button Maker Lite
Generate button images with text dynamically
Author: By
Last change:
Date: 18 years ago
Size: 1,511 bytes
 

Contents

Class file image Download
#################################################################### # Date: 19-10-2006 19:23 # Author: B.Heesen (b.heesen@dbds.nl) # Version: 0.1 # © Copyright 2006 De Bron Digital Solutions (http://www.dbds.nl) #################################################################### README BUTTONMAKER-LITE unzip the file make a directorie: "fonts" put your TTF fonts in the "fonts" directory in the class the default is arial.ttf In the full version there are also other features like: shadow upload fonts/images use background image gradient backgroundcolors rotation LEESMIJ BUTTONMAKER-LITE pak het bestand uit maak een mappen aan: "fonts" plaats je TTF fonts in deze map "fonts" In de volledige versie zijn er ook de volgende opties zoals: schaduw uploaden van lettertypes en afbeeldingen gradient achtergrondkleuren het gebruik van een achtergrond afbeelding roteren Example/Voorbeeld: require_once ('class.buttonmaker.lite.php'); //the needed classfile $btn = new BMaker(); //initiate the class $btn->format('jpg'); //imagetype : jpg,gif or png $btn->text('test'); //text to put on button $btn->font(''); //defaults to arial.ttf $btn->fontsize(20); //defaults to 10px $btn->textx(5); //nr of pixels from the left $btn->texty(20); // nr of pixels from the top $btn->bordertype('out'); //in out flat $btn->bgcolor('#FFFFFF'); //background color in HEX $btn->fgcolor('#000000'); //fontcolor in HEX $btn->Buttonmaker(100, 25);//width height