ofc_tags Class Reference

Inherited by ofc_tag.


Public Member Functions

 ofc_tags ()
 colour ($colour)
 font ($font, $size)
 padding ($x, $y)
 rotate ($angle)
 align_x_center ()
 align_x_left ()
 align_x_right ()
 align_y_above ()
 align_y_below ()
 align_y_center ()
 text ($text)
 on_click ($on_click)
 style ($bold, $underline, $border, $alpha)
 append_tag ($tag)


Member Function Documentation

align_x_center (  ) 

align_x_left (  ) 

align_x_right (  ) 

align_y_above (  ) 

align_y_below (  ) 

align_y_center (  ) 

append_tag ( tag  ) 

Parameters:
$tag as ofc_tag

colour ( colour  ) 

font ( font,
size 
)

Parameters:
$font as string. e.g. "Verdana"
$size as integer. Size in px

ofc_tags (  ) 

on_click ( on_click  ) 

This works, but to get the mouse pointer to change to a little hand you need to use "<a href="">stuff</a>"-- see text()

padding ( x,
y 
)

Parameters:
$x as integer. Size of x padding in px
$y as integer. Size of y padding in px

rotate ( angle  ) 

style ( bold,
underline,
border,
alpha 
)

Parameters:
$bold boolean.
$underline boolean.
$border boolean. $alpha real (0 to 1.0)

text ( text  ) 

This can contain some HTML, e.g:


The documentation for this class was generated from the following file:

Generated on Tue Jul 28 00:05:19 2009 for open-flash-chart by  doxygen 1.5.8