[ Index ]
 

Code source de phpMyVisites 2.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libs/artichow/php5/ -> Image.class.php (sommaire)

(pas de description)

Poids: 428 lignes (8 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 libs/artichow/php5/inc/Border.class.php
 libs/artichow/php5/inc/Shadow.class.php

Définit 2 classes

awImage:: (12 méthodes):
  __construct()
  getDrawer()
  setSize()
  setBackgroundColor()
  setBackgroundGradient()
  setAntiAliasing()
  setFormat()
  create()
  drawComponent()
  drawShadow()
  send()
  getFormat()

awFileImage:: (1 méthode):
  __construct()


Classe: awImage  - X-Ref

An image for a graph

__construct()   X-Ref
Build the image


getDrawer($w = 1, $h = 1, $x = 0.5, $y = 0.5)   X-Ref
Get drawer of the image

param: int $w Drawer width (from 0 to 1) (default to 1)
param: int $h Drawer height (from 0 to 1) (default to 1)
param: float $x Position on X axis of the center of the drawer (default to 0.5)
param: float $y Position on Y axis of the center of the drawer (default to 0.5)
return: Drawer

setSize($width, $height)   X-Ref
Change the image size


setBackgroundColor(awColor $color)   X-Ref
Change image background color

param: awColor $color

setBackgroundGradient(awGradient $gradient)   X-Ref
Change image background gradient

param: awGradient $gradient

setAntiAliasing($bool)   X-Ref
Can we use anti-aliasing ?


setFormat($format)   X-Ref
Change image format


create()   X-Ref
Create a new awimage


drawComponent(awComponent $component)   X-Ref
Draw a component on the image


drawShadow()   X-Ref
Pas de description

send($file = NULL)   X-Ref
Send the image into a file or to the user browser


getFormat()   X-Ref
Pas de description

Classe: awFileImage  - X-Ref

Load an image from a file

__construct($file)   X-Ref
Build a new awimage

param: string $file Image file name



Généré le : Mon Nov 26 14:10:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics