(PHP 4, PHP 5, PHP 7)
imagecharup — ��ֱ�ػ�һ���ַ�
$image
, int $font
, int $x
, int $y
, string $c
, int $color
) : bool
imagecharup() ���ַ�
c
��ֱ�ػ���
image
ָ����ͼ���ϣ�λ��
x
��y
��ͼ�����Ͻ�Ϊ 0, 0������ɫΪ
color
����� font
Ϊ 1��2��3��4 �� 5����ʹ�����õ����塣
Example #1 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);
// prints a black "Z" on a white background
imagecharup($im, 3, 10, 10, $string, $black);
header('Content-type: image/png');
imagepng($im);
?>
�μ� imagechar() �� imageloadfont()��