ChartDirector Ver 3.1 (PHP Edition Edition)

Box


The Box class represents boxes. It is used as the base class for more complex classes (such as the TextBox class).

MethodInheritedDescription
setPos(Self)Set the coordinates of the top-left corner of the box.
setSize(Self)Set the width and height of the box.
setBackground(Self)Set the background color, border color and 3D border effect of the box.
getWidth(Self)Get the width of the box.
getHeight(Self)Get the height of the box.
getImageCoor(Self)Get the image map coordinates of the box as HTML image map attributes.