📄 class.imagickdraw.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>The ImagickDraw class</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.imagick-writeimages.html">Imagick::writeImages</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.imagickdraw-affine.html">ImagickDraw::affine</a></div> <div class="up"><a href="book.imagick.html">ImageMagick</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1 class="title">The <b class="classname">ImagickDraw</b> class</h1> <div class="partintro"> <div id="imagickdraw.synopsis" class="section"> <h2 class="title">Class synopsis</h2> <div class="classsynopsis"> <div class="ooclass"><b class="classname">ImagickDraw</b></div> <div class="classsynopsisinfo"> <span class="ooclass"><b class="classname">ImagickDraw</b></span> {</div> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-affine.html" class="function">ImagickDraw::affine</a></b></span> ( <span class="methodparam"><span class="type">array</span> <tt class="parameter">$affine</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-annotation.html" class="function">ImagickDraw::annotation</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$text</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-arc.html" class="function">ImagickDraw::arc</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sx</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sy</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ex</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ey</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sd</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ed</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-bezier.html" class="function">ImagickDraw::bezier</a></b></span> ( <span class="methodparam"><span class="type">array</span> <tt class="parameter">$coordinates</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-circle.html" class="function">ImagickDraw::circle</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ox</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$oy</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$px</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$py</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-clear.html" class="function">ImagickDraw::clear</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">ImagickDraw</span> <span class="methodname"><b><a href="function.imagickdraw-clone.html" class="function">ImagickDraw::clone</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-color.html" class="function">ImagickDraw::color</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$paintMethod</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-comment.html" class="function">ImagickDraw::comment</a></b></span> ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$comment</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-composite.html" class="function">ImagickDraw::composite</a></b></span> ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$compose</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$width</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$height</tt></span> , <span class="methodparam"><span class="type"><a href="class.imagick.html" class="type Imagick">Imagick</a></span> <tt class="parameter">$compositeWand</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">ImagickDraw</span> <span class="methodname"><b><a href="function.imagickdraw-construct.html" class="function">ImagickDraw::__construct</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-destroy.html" class="function">ImagickDraw::destroy</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-ellipse.html" class="function">ImagickDraw::ellipse</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ox</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$oy</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$rx</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ry</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$start</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$end</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><b><a href="function.imagickdraw-getclippath.html" class="function">ImagickDraw::getClipPath</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getcliprule.html" class="function">ImagickDraw::getClipRule</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getclipunits.html" class="function">ImagickDraw::getClipUnits</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">ImagickPixel</span> <span class="methodname"><b><a href="function.imagickdraw-getfillcolor.html" class="function">ImagickDraw::getFillColor</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">float</span> <span class="methodname"><b><a href="function.imagickdraw-getfillopacity.html" class="function">ImagickDraw::getFillOpacity</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getfillrule.html" class="function">ImagickDraw::getFillRule</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><b><a href="function.imagickdraw-getfont.html" class="function">ImagickDraw::getFont</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><b><a href="function.imagickdraw-getfontfamily.html" class="function">ImagickDraw::getFontFamily</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">float</span> <span class="methodname"><b><a href="function.imagickdraw-getfontsize.html" class="function">ImagickDraw::getFontSize</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getfontstyle.html" class="function">ImagickDraw::getFontStyle</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getfontweight.html" class="function">ImagickDraw::getFontWeight</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getgravity.html" class="function">ImagickDraw::getGravity</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokeantialias.html" class="function">ImagickDraw::getStrokeAntialias</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">ImagickPixel</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokecolor.html" class="function">ImagickDraw::getStrokeColor</a></b></span> ( <span class="methodparam"><span class="type"><a href="class.imagickpixel.html" class="type ImagickPixel">ImagickPixel</a></span> <tt class="parameter">$stroke_color</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">array</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokedasharray.html" class="function">ImagickDraw::getStrokeDashArray</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">float</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokedashoffset.html" class="function">ImagickDraw::getStrokeDashOffset</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokelinecap.html" class="function">ImagickDraw::getStrokeLineCap</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokelinejoin.html" class="function">ImagickDraw::getStrokeLineJoin</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokemiterlimit.html" class="function">ImagickDraw::getStrokeMiterLimit</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">float</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokeopacity.html" class="function">ImagickDraw::getStrokeOpacity</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">float</span> <span class="methodname"><b><a href="function.imagickdraw-getstrokewidth.html" class="function">ImagickDraw::getStrokeWidth</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-gettextalignment.html" class="function">ImagickDraw::getTextAlignment</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-gettextantialias.html" class="function">ImagickDraw::getTextAntialias</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">int</span> <span class="methodname"><b><a href="function.imagickdraw-gettextdecoration.html" class="function">ImagickDraw::getTextDecoration</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><b><a href="function.imagickdraw-gettextencoding.html" class="function">ImagickDraw::getTextEncoding</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">ImagickPixel</span> <span class="methodname"><b><a href="function.imagickdraw-gettextundercolor.html" class="function">ImagickDraw::getTextUnderColor</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">string</span> <span class="methodname"><b><a href="function.imagickdraw-getvectorgraphics.html" class="function">ImagickDraw::getVectorGraphics</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-line.html" class="function">ImagickDraw::line</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sx</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sy</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ex</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ey</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-matte.html" class="function">ImagickDraw::matte</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> , <span class="methodparam"><span class="type">int</span> <tt class="parameter">$paintMethod</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathclose.html" class="function">ImagickDraw::pathClose</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetoabsolute.html" class="function">ImagickDraw::pathCurveToAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetoquadraticbezierabsolute.html" class="function">ImagickDraw::pathCurveToQuadraticBezierAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetoquadraticbezierrelative.html" class="function">ImagickDraw::pathCurveToQuadraticBezierRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetoquadraticbeziersmoothabsolute.html" class="function">ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetoquadraticbeziersmoothrelative.html" class="function">ImagickDraw::pathCurveToQuadraticBezierSmoothRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetorelative.html" class="function">ImagickDraw::pathCurveToRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y1</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetosmoothabsolute.html" class="function">ImagickDraw::pathCurveToSmoothAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathcurvetosmoothrelative.html" class="function">ImagickDraw::pathCurveToSmoothRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y2</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathellipticarcabsolute.html" class="function">ImagickDraw::pathEllipticArcAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$rx</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ry</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x_axis_rotation</tt></span> , <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$large_arc_flag</tt></span> , <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$sweep_flag</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathellipticarcrelative.html" class="function">ImagickDraw::pathEllipticArcRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$rx</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ry</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x_axis_rotation</tt></span> , <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$large_arc_flag</tt></span> , <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$sweep_flag</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathfinish.html" class="function">ImagickDraw::pathFinish</a></b></span> ( <span class="methodparam">void</span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathlinetoabsolute.html" class="function">ImagickDraw::pathLineToAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathlinetohorizontalabsolute.html" class="function">ImagickDraw::pathLineToHorizontalAbsolute</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathlinetohorizontalrelative.html" class="function">ImagickDraw::pathLineToHorizontalRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span> )</div><div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><b><a href="function.imagickdraw-pathlinetorelative.html" class="function">ImagickDraw::pathLineToRelative</a></b></span> ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -