位置: 编程技术 - 正文
推荐整理分享PHP:imagearc()的用法_GD库图像处理函数(php imagecopy),希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:php imagefill,php image,php中imagestring,php中imagecreatefromjpeg,php中imagecreatefromjpeg,php imagefill,php imagefill,php中imagecreatefromjpeg,内容如对您有帮助,希望把文章链接给更多的朋友!
(PHP 4, PHP 5)
imagearc — 画椭圆弧
说明 bool imagearc ( resource $image , int $cx , int $cy , int $w , int $h , int $s , int $e , int $color )imagearc() 以 cx,cy(图像左上角为 0, 0)为中心在 image 所代表的图像中画一个椭圆弧。w 和 h 分别指定了椭圆的宽度和高度,起始和结束点以 s 和 e 参数以角度指定。0°位于三点钟位置,以顺时针方向绘画。
Example #1 用 imagearc() 画一个圆
<?php//创建一个X的图像$img=imagecreatetruecolor(,);//分配颜色$white=imagecolorallocate($img,,,);$black=imagecolorallocate($img,0,0,0);//画一个黑色的圆imagearc($img,,,,,0,,$black);//将图像输出到浏览器header("Content-type:image/png");imagepng($img);//释放内存imagedestroy($img);?>参见 imageellipse(),imagefilledellipse() 和 imagefilledarc()。
PHP:imagecolorallocatealpha()的用法_GD库图像处理函数 imagecolorallocatealpha(PHP4=4.3.2,PHP5)imagecolorallocatealpha为一幅图像分配颜色+alpha说明intimagecolorallocatealpha(resource$image,int$red,int$green,int$blue,int$alpha)imagecolorallocatea
PHP:imagecharup()的用法_GD库图像处理函数 imagecharup(PHP4,PHP5)imagecharup垂直地画一个字符说明boolimagecharup(resource$image,int$font,int$x,int$y,string$c,int$color)imagecharup()将字符c垂直地画在image指定的图像上,
PHP:imageantialias()的用法_GD库图像处理函数 imageantialias(PHP4=4.3.2,PHP5)imageantialias是否使用抗锯齿(antialias)功能说明boolimageantialias(resource$image,bool$enabled)对线段和多边形启用快速画图抗锯齿方法。不
标签: php imagecopy
本文链接地址:https://www.jiuchutong.com/biancheng/288388.html 转载请保留说明!友情链接: 武汉网站建设