Hostign Towebs
 
    BUSCARDOR 
 
imagecharup

imagecharup

(PHP 3, PHP 4, PHP 5)

imagecharup -- Dibuja un carácter vertical

Descripción

bool imagecharup ( resource im, int font, int x, int y, string c, int col )

imagecharup() dibuja el caracter c verticalmente en la imagen identificada mediante im en las coordenadas x, y (arriba izquierda es 0,0) con el color col. Si la fuente es 1, 2, 3, 4 o 5 se usa una fuente predefinida.

Ejemplo 1. Ejemplo de imagecharup()

<?php

$im
= imagecreate(100, 100);

$string = 'Note that the first letter is a N';

$bg = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);

// muestra una letra "Z" negra sobre fondo blanco
imagecharup($im, 3, 10, 10, $string, $black);

header('Content-type: image/png');
imagepng($im);

?>

Vea también imagechar() y imageloadfont().



 
 
Rute path: HOME / MANUALES Y TUTORIALES / MANUAL DE PHP
Home | Hosting | Housing | Revendedores | Soporte | Empresa | Mapa del Sitio | Contacto | FAQ | Blog Corporativo
Atención técnica y comercial: (54)-11-5031-1111 las 24 hs. los 365 días del año. ToWebs, (c) 2008
Virtucom Networks S.A Av. Belgrano 1586, piso 10 (C1093AAQ) Cap. Fed. Bs. As, Argentina.