编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 ncurses 函数 draws a horizontal line in a window at current position using an attributed character and max. n characters longphp ps 函数 draws a curvephp 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 text decorationphp gmagickdraw returns the code set used for text annotationsphp gmagickdraw draws a pointphp gmagickdraw draws a polygonphp gmagickdraw draws a polylinephp gmagickdraw draws a rectanglephp gmagickdraw draws a rounded rectanglephp gmagickdraw sets the color used for stroking object outlinesphp imagickdraw draws a circlephp imagickdraw draws a cubic bezier curvephp imagickdraw draws a polygonphp imagickdraw draws a rectanglephp imagickdraw draws a rounded rectangle
关注编程学问公众号
编程学问网 湘ICP备20001732号