编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « GmagickDraw::polyline
  • GmagickDraw::rotate »
  • PHP Manual
  • GmagickDraw
  • Draws a rectangle

GmagickDraw::rectangle

(PECL gmagick >= Unknown)

GmagickDraw::rectangle — Draws a rectangle

说明

public GmagickDraw::rectangle ( float $x1 , float $y1 , float $x2 , float $y2 ) : GmagickDraw

Draws a rectangle given two coordinates and using the current stroke, stroke width, and fill settings.

参数

x1

x ordinate of first coordinate

y1

y ordinate of first coordinate

x2

x ordinate of second coordinate

y2

y ordinate of second coordinate

返回值

The GmagickDraw object on success

相关文章
php gd 和图像处理 函数 draws an open polygonphp ps 函数 draws a rectanglephp gmagickdraw draws text on the imagephp gmagickdraw draws an arcphp gmagickdraw draws a bezier curvephp gmagickdraw draws an ellipse on the imagephp gmagickdraw returns the opacity of stroked object outlinesphp gmagickdraw returns the width of the stroke used to draw object outlinesphp gmagickdraw draws a pointphp gmagickdraw draws a polygonphp gmagickdraw draws a polylinephp gmagickdraw draws a rectanglephp gmagickdraw draws a rounded rectanglephp gmagickdraw sets the font style to use when annotating with textphp gmagickdraw sets the font weightphp imagickdraw draws an arcphp imagickdraw draws a quadratic bezier curvephp imagickdraw draws a rectanglephp imagickdraw draws a rounded rectanglephp swftext draws a string
关注编程学问公众号
编程学问网 湘ICP备20001732号