Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include 'imagem.php';
- $imagem = new Image(256, 256, '#1C3C41'); //Height Width, Background.
- //$imagem = new Image(256, 256); //This creates a transparent image
- $imagem->setFont('Verdana', 14, '#fade45'); //Setting the next text draw (the title) font.
- $imagem->drawTitle('Online Staff'); //title
- $firstLine = new Line();
- $firstLine->marginTop = 4; //Spacing between this line and the title
- $firstLine->addText('Online helpers: ', 'Verdana Bold', 12, '#009D9D');
- $firstLine->addLineBreak();
- $firstLine->addText('Someone', 'Verdana', 12, '#6C77C1');
- $imagem->drawLine($firstLine);
- $secondLine = new Line();
- $secondLine->marginTop = 4;
- $secondLine->addText('Online mapcrews: ', 'Verdana Bold', 12, '#009D9D', 0, 0);
- // text font size color marginLeft marginTop
- $secondLine->addText('Someoneelse', 'Verdana', 12, '#6C77C1');
- $imagem->drawLine($secondLine);
- $imagem->flushImg();
- //http://i.imgur.com/w1coi2K.png
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement