Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

Image_Graph_Base::setSpacer()

Image_Graph_Base::setSpacer() -- Set spacer

Description

The spacer-array stores values how many pixels of space should be added between above, below and besides an object. Note that possibly not all values are used for all objects. This depends upon the type of object and their position inside the graph. If some elements of the array are missing the current values are left in place. This way you can e.g. just modify the top-spacer for an object or set all bounds in one go.

Parameter

array $spacer

(array of 4 ints) array with keys "top, bottom, left, right"

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Who's Online
Guest Users: 9
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General