Welcome to GuardiansWorlds.com
 
 

  User Info Box

Anonymous
216.73.216.190
Nickname:

Password:

Security Code:
Security Code
Type Security Code:


User Stats:
Today: 0
Yesterday: 0
This Month: 0
This Year: 0
Total Users: 117
New Members:
Online Now:
  Guests: 29
216.73.xxx.xxx
149.232.xxx.xx
85.208.xx.xxx
47.128.xxx.xxx
47.128.xx.xxx

  Total Online: 29
Server Time:
Dec 18, 2025
08:10 pm UTC
 

  Modules/Site Links

· Home
· Bible-MM
· Birds-MM
· Car_Show-MM
· Christmas-MM
· Content
· Domaining-MM
· Downloads
· Drugs-MM
· Event Calendar
· FAQ
· Feedback
· Fish-MM
· Gambling_Guide-MM
· Guardians Worlds Chat
· HTML_Manual
· Internet_Traffic_Report
· IP_Tracking Tool
· Journal
· Members List
· Movies-MM
· Music_Sound-MM
· NukeSentinel
· PHP-Nuke_Tools
· PHP_Manual-MM
· PING Tool
· Private Messages
· Recommend Us
· Reptiles-MM
· Search
· SEO_Tools
· Statistics
· Stories Archive
· Submit News
· Surveys
· Top 30
· Topics
· Visitor Mapping System
· Web Links
· Webcams
· Web_Development-MM
· YahooNews
· YahooPool
· Your Account
 

  Categories Menu

· All Categories
· Camaro and Firebird
· FTP Server
· New Camaro
· News
· Online Gaming
 

  Survey

Which is your favorite generation Camaro or Firebird?

1st Gen. 67-69 Camaro
2nd Gen. 70-81 Camaro
3rd Gen. 82-92 Camaro
4th Gen. A 93-97 Camaro
4th Gen. B 98-2002 Camaro
1st Gen. 67-69 Firebird
2nd Gen. 70-81 Firebird
3rd Gen. 82-92 Firebird
4th Gen. A 93-97 Firebird
4th Gen. B 98-2002 Firebird



Results
Polls

Votes: 71
Comments: 0
 

  Cluster Maps

Locations of visitors to this page
 

  Languages

Select Interface Language:

 

 
  SWFShape->setLine

SWFShape->setLine

(no version information, might be only in CVS)

SWFShape->setLine -- Sets the shape's line style

Description

void swfshape->setline ( swfshape shape )

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

void swfshape->setline ( int width, int red, int green, int blue [, int a] )

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

swfshape->setline() sets the shape's line style. width is the line's width. If width is 0, the line's style is removed (then, all other arguments are ignored). If width > 0, then line's color is set to red, green, blue. Last parameter a is optional.

You must declare all line styles before you use them (see example).

This simple example will draw a big "!#%*@", in funny colors and gracious style.

Example 1. swfshape->setline() example

<?php
  $s
= new SWFShape();
  
$f1 = $s->addFill(0xff, 0, 0);
  
$f2 = $s->addFill(0xff, 0x7f, 0);
  
$f3 = $s->addFill(0xff, 0xff, 0);
  
$f4 = $s->addFill(0, 0xff, 0);
  
$f5 = $s->addFill(0, 0, 0xff);

  
// bug: have to declare all line styles before you use them
  
$s->setLine(40, 0x7f, 0, 0);
  
$s->setLine(40, 0x7f, 0x3f, 0);
  
$s->setLine(40, 0x7f, 0x7f, 0);
  
$s->setLine(40, 0, 0x7f, 0);
  
$s->setLine(40, 0, 0, 0x7f);

  
$f = new SWFFont('Techno.fdb');

  
$s->setRightFill($f1);
  
$s->setLine(40, 0x7f, 0, 0);
  
$s->drawGlyph($f, '!');
  
$s->movePen($f->getWidth('!'), 0);

  
$s->setRightFill($f2);
  
$s->setLine(40, 0x7f, 0x3f, 0);
  
$s->drawGlyph($f, '#');
  
$s->movePen($f->getWidth('#'), 0);

  
$s->setRightFill($f3);
  
$s->setLine(40, 0x7f, 0x7f, 0);
  
$s->drawGlyph($f, '%');
  
$s->movePen($f->getWidth('%'), 0);

  
$s->setRightFill($f4);
  
$s->setLine(40, 0, 0x7f, 0);
  
$s->drawGlyph($f, '*');
  
$s->movePen($f->getWidth('*'), 0);

  
$s->setRightFill($f5);
  
$s->setLine(40, 0, 0, 0x7f);
  
$s->drawGlyph($f, '@');

  
$m = new SWFMovie();
  
$m->setDimension(3000,2000);
  
$m->setRate(12.0);
  
$i = $m->add($s);
  
$i->moveTo(1500-$f->getWidth("!#%*@")/2, 1000+$f->getAscent()/2);

  
header('Content-type: application/x-shockwave-flash');
  
$m->output();
?>

 
 


 
  Disipal DesignsAnti-Spam
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2002 by me.
You can syndicate our news using the file backend.php or ultramode.txt This site contains info,links,chat,message board/forum for online games,gaming,other features.Check out my servers and stats for Killing Floor, Quake3 Rocket Arenas & Deathmatch,Trade Wars 2002 & FTP server.Camaro/Firebirds, car info.