[ Home ] Examples: [ Static ] [ Cliend-side ] Info: [ Usage ] [ Class methods ] [ WhatIsId function ] And: [ Download ] [ :) ]

phpImageCloud Class Methods.

Class Methods

imagecloud

void imagecloud( int $width, int $height, [int $bgr = 255], [int $bgg = 255], [int $bgb = 255], [float $scale = 1])

[line 51]

Constructor

Notice: Don't try to use to large scale. up to 10 is ok.. but more.. it will burn your memory :)

Parameters:

[ Top ]

additem

bool|int additem( string $image, int $value, [mixed $id = false])

[line 79]

Calculate image items and coordinates and add its info to calculation array

Tags:

Parameters:

[ Top ]

copy_blur

array copy_blur( mixed $src, int $x, int $y, int $dst_width, int $dst_height)

[line 271]

Copy image (resampled) with simple blur

Tags:

Parameters:

[ Top ]

create

mixed create( void 0)

[line 164]

Make final creating of image cloud

Tags:

Parameters:

[ Top ]

getarray

array getarray( void 0)

[line 292]

Get data array. You need to cache it to calculate coordinates of click to item id

Tags:

Parameters:

[ Top ]

saveitemtofile

bool saveitemtofile( int $item_index, $filename)

[line 188]

Save cloud item to filename. Must be PNG and writable.

Tags:

Parameters:

[ Top ]

Thanks to: jeka911 :), SourceForge.net Logo. Скачать клипы