[ Index ] |
|
Code source de Cr@wltr@ck 2.2.1 |
[Code source] [Imprimer] [Statistiques]
A graph can contain some groups of components
Poids: | 415 lignes (8 kb) |
Inclus ou requis: | 2 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
__construct() X-Ref |
Build the component group |
add(awComponent $component) X-Ref |
Add a component to the group param: awComponent $component A component |
__construct() X-Ref |
Build the component |
auto($auto) X-Ref |
Adjust automatically the component ? param: bool $auto |
setSize($width, $height) X-Ref |
Change the size of the component param: int $width Component width (from 0 to 1) param: int $height Component height (from 0 to 1) |
setAbsSize($w, $h) X-Ref |
Change the absolute size of the component param: int $w Component width (in pixels) param: int $h Component height (in pixels) |
setBackgroundColor($color) X-Ref |
Change component background color param: awColor $color (can be null) |
setBackgroundGradient($gradient) X-Ref |
Change component background gradient param: awGradient $gradient (can be null) |
setBackgroundImage($image) X-Ref |
Change component background image param: awImage $image (can be null) |
getBackground() X-Ref |
Return the component background return: Color, Gradient |
setPadding($left = NULL, $right = NULL, $top = NULL, $bottom = NULL) X-Ref |
Change component padding param: int $left Padding in pixels (NULL to keep old value) param: int $right Padding in pixels (NULL to keep old value) param: int $top Padding in pixels (NULL to keep old value) param: int $bottom Padding in pixels (NULL to keep old value) |
setSpace($left = NULL, $right = NULL, $bottom = NULL, $top = NULL) X-Ref |
Change component space param: float $left Space in % (NULL to keep old value) param: float $right Space in % (NULL to keep old value) param: float $bottom Space in % (NULL to keep old value) param: float $top Space in % (NULL to keep old value) |
setAbsPosition($left, $top) X-Ref |
Change the absolute position of the component on the graph |
setCenter($x, $y) X-Ref |
Set the center of the component param: int $x Position on X axis of the center of the component param: int $y Position on Y axis of the center of the component |
getPosition() X-Ref |
Get component coords with its padding return: array Coords of the component |
init(awDrawer $drawer) X-Ref |
Init the drawing of the component |
finalize(awDrawer $drawer) X-Ref |
Finalize the drawing of the component |
getSpace($width, $height) X-Ref |
Get space width in pixels param: int $width Component width param: int $height Component height return: array |
Généré le : Thu Sep 6 14:14:11 2007 | par Balluche grâce à PHPXref 0.7 |