/lisp/php/php-manual-html/class.gmagickdraw.html

https://github.com/cue-taro/emacs-setting-files · HTML · 461 lines · 202 code · 259 blank · 0 comment · 0 complexity · 780f7819b6ad0ffc922a3a749cac2c4b MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  5. <title>GmagickDraw クラス</title>
  6. </head>
  7. <body><div class="manualnavbar" style="text-align: center;">
  8. <div class="prev" style="text-align: left; float: left;"><a href="gmagick.writeimage.html">Gmagick::writeimage</a></div>
  9. <div class="next" style="text-align: right; float: right;"><a href="gmagickdraw.annotate.html">GmagickDraw::annotate</a></div>
  10. <div class="up"><a href="book.gmagick.html">Gmagick</a></div>
  11. <div class="home"><a href="index.html">PHP Manual</a></div>
  12. </div><hr /><div id="class.gmagickdraw" class="reference">
  13. <h1 class="title">GmagickDraw クラス</h1>
  14. <div class="partintro">
  15. <div class="section" id="gmagickdraw.intro">
  16. <h2 class="title">導入</h2>
  17. <p class="para">
  18. Description of the class.
  19. </p>
  20. </div>
  21. <div class="section" id="gmagickdraw.synopsis">
  22. <h2 class="title">クラス概要</h2>
  23. <div class="classsynopsis">
  24. <div class="ooclass"></div>
  25. <div class="classsynopsisinfo">
  26. <span class="ooclass">
  27. <b class="classname">GmagickDraw</b>
  28. </span>
  29. {</div>
  30. <div class="classsynopsisinfo classsynopsisinfo_comment">/* メソッド */</div>
  31. <div class="methodsynopsis dc-description">
  32. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.annotate.html" class="methodname">annotate</a></span>
  33. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span>
  34. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span>
  35. , <span class="methodparam"><span class="type">string</span> <tt class="parameter">$text</tt></span>
  36. )</div>
  37. <div class="methodsynopsis dc-description">
  38. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.arc.html" class="methodname">arc</a></span>
  39. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sx</tt></span>
  40. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sy</tt></span>
  41. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ex</tt></span>
  42. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ey</tt></span>
  43. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sd</tt></span>
  44. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ed</tt></span>
  45. )</div>
  46. <div class="methodsynopsis dc-description">
  47. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.bezier.html" class="methodname">bezier</a></span>
  48. ( <span class="methodparam"><span class="type">array</span> <tt class="parameter">$coordinate_array</tt></span>
  49. )</div>
  50. <div class="methodsynopsis dc-description">
  51. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.ellipse.html" class="methodname">ellipse</a></span>
  52. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ox</tt></span>
  53. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$oy</tt></span>
  54. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$rx</tt></span>
  55. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ry</tt></span>
  56. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$start</tt></span>
  57. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$end</tt></span>
  58. )</div>
  59. <div class="methodsynopsis dc-description">
  60. <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="gmagickdraw.getfillcolor.html" class="methodname">getfillcolor</a></span>
  61. ( <span class="methodparam">void</span>
  62. )</div>
  63. <div class="methodsynopsis dc-description">
  64. <span class="modifier">public</span> <span class="type">float</span> <span class="methodname"><a href="gmagickdraw.getfillopacity.html" class="methodname">getfillopacity</a></span>
  65. ( <span class="methodparam">void</span>
  66. )</div>
  67. <div class="methodsynopsis dc-description">
  68. <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="gmagickdraw.getfont.html" class="methodname">getfont</a></span>
  69. ( <span class="methodparam">void</span>
  70. )</div>
  71. <div class="methodsynopsis dc-description">
  72. <span class="modifier">public</span> <span class="type">float</span> <span class="methodname"><a href="gmagickdraw.getfontsize.html" class="methodname">getfontsize</a></span>
  73. ( <span class="methodparam">void</span>
  74. )</div>
  75. <div class="methodsynopsis dc-description">
  76. <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="gmagickdraw.getfontstyle.html" class="methodname">getfontstyle</a></span>
  77. ( <span class="methodparam">void</span>
  78. )</div>
  79. <div class="methodsynopsis dc-description">
  80. <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="gmagickdraw.getfontweight.html" class="methodname">getfontweight</a></span>
  81. ( <span class="methodparam">void</span>
  82. )</div>
  83. <div class="methodsynopsis dc-description">
  84. <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="gmagickdraw.getstrokecolor.html" class="methodname">getstrokecolor</a></span>
  85. ( <span class="methodparam">void</span>
  86. )</div>
  87. <div class="methodsynopsis dc-description">
  88. <span class="modifier">public</span> <span class="type">float</span> <span class="methodname"><a href="gmagickdraw.getstrokeopacity.html" class="methodname">getstrokeopacity</a></span>
  89. ( <span class="methodparam">void</span>
  90. )</div>
  91. <div class="methodsynopsis dc-description">
  92. <span class="modifier">public</span> <span class="type">float</span> <span class="methodname"><a href="gmagickdraw.getstrokewidth.html" class="methodname">getstrokewidth</a></span>
  93. ( <span class="methodparam">void</span>
  94. )</div>
  95. <div class="methodsynopsis dc-description">
  96. <span class="modifier">public</span> <span class="type">int</span> <span class="methodname"><a href="gmagickdraw.gettextdecoration.html" class="methodname">gettextdecoration</a></span>
  97. ( <span class="methodparam">void</span>
  98. )</div>
  99. <div class="methodsynopsis dc-description">
  100. <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><a href="gmagickdraw.gettextencoding.html" class="methodname">gettextencoding</a></span>
  101. ( <span class="methodparam">void</span>
  102. )</div>
  103. <div class="methodsynopsis dc-description">
  104. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.line.html" class="methodname">line</a></span>
  105. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sx</tt></span>
  106. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$sy</tt></span>
  107. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ex</tt></span>
  108. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ey</tt></span>
  109. )</div>
  110. <div class="methodsynopsis dc-description">
  111. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.point.html" class="methodname">point</a></span>
  112. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span>
  113. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span>
  114. )</div>
  115. <div class="methodsynopsis dc-description">
  116. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.polygon.html" class="methodname">polygon</a></span>
  117. ( <span class="methodparam"><span class="type">array</span> <tt class="parameter">$coordinates</tt></span>
  118. )</div>
  119. <div class="methodsynopsis dc-description">
  120. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.polyline.html" class="methodname">polyline</a></span>
  121. ( <span class="methodparam"><span class="type">array</span> <tt class="parameter">$coordinate_array</tt></span>
  122. )</div>
  123. <div class="methodsynopsis dc-description">
  124. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.rectangle.html" class="methodname">rectangle</a></span>
  125. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x1</tt></span>
  126. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y1</tt></span>
  127. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x2</tt></span>
  128. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y2</tt></span>
  129. )</div>
  130. <div class="methodsynopsis dc-description">
  131. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.rotate.html" class="methodname">rotate</a></span>
  132. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$degrees</tt></span>
  133. )</div>
  134. <div class="methodsynopsis dc-description">
  135. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.roundrectangle.html" class="methodname">roundrectangle</a></span>
  136. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x1</tt></span>
  137. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y1</tt></span>
  138. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x2</tt></span>
  139. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y2</tt></span>
  140. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$rx</tt></span>
  141. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$ry</tt></span>
  142. )</div>
  143. <div class="methodsynopsis dc-description">
  144. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.scale.html" class="methodname">scale</a></span>
  145. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$x</tt></span>
  146. , <span class="methodparam"><span class="type">float</span> <tt class="parameter">$y</tt></span>
  147. )</div>
  148. <div class="methodsynopsis dc-description">
  149. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setfillcolor.html" class="methodname">setfillcolor</a></span>
  150. ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$color</tt></span>
  151. )</div>
  152. <div class="methodsynopsis dc-description">
  153. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setfillopacity.html" class="methodname">setfillopacity</a></span>
  154. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$fill_opacity</tt></span>
  155. )</div>
  156. <div class="methodsynopsis dc-description">
  157. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setfont.html" class="methodname">setfont</a></span>
  158. ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$font</tt></span>
  159. )</div>
  160. <div class="methodsynopsis dc-description">
  161. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setfontsize.html" class="methodname">setfontsize</a></span>
  162. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$pointsize</tt></span>
  163. )</div>
  164. <div class="methodsynopsis dc-description">
  165. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setfontstyle.html" class="methodname">setfontstyle</a></span>
  166. ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$style</tt></span>
  167. )</div>
  168. <div class="methodsynopsis dc-description">
  169. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setfontweight.html" class="methodname">setfontweight</a></span>
  170. ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$weight</tt></span>
  171. )</div>
  172. <div class="methodsynopsis dc-description">
  173. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setstrokecolor.html" class="methodname">setstrokecolor</a></span>
  174. ( <span class="methodparam"><span class="type"><a href="class.gmagickpixel.html" class="type GmagickPixel">GmagickPixel</a></span> <tt class="parameter">$color</tt></span>
  175. )</div>
  176. <div class="methodsynopsis dc-description">
  177. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setstrokeopacity.html" class="methodname">setstrokeopacity</a></span>
  178. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$stroke_opacity</tt></span>
  179. )</div>
  180. <div class="methodsynopsis dc-description">
  181. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.setstrokewidth.html" class="methodname">setstrokewidth</a></span>
  182. ( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$width</tt></span>
  183. )</div>
  184. <div class="methodsynopsis dc-description">
  185. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.settextdecoration.html" class="methodname">settextdecoration</a></span>
  186. ( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$decoration</tt></span>
  187. )</div>
  188. <div class="methodsynopsis dc-description">
  189. <span class="modifier">public</span> <span class="type">GmagickDraw</span> <span class="methodname"><a href="gmagickdraw.settextencoding.html" class="methodname">settextencoding</a></span>
  190. ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$encoding</tt></span>
  191. )</div>
  192. }</div>
  193. </div>
  194. </div>
  195. <h2>目次</h2><ul class="chunklist chunklist_reference"><li><a href="gmagickdraw.annotate.html">GmagickDraw::annotate</a> Draws text on the image</li><li><a href="gmagickdraw.arc.html">GmagickDraw::arc</a> Draws an arc</li><li><a href="gmagickdraw.bezier.html">GmagickDraw::bezier</a> Draws a bezier curve</li><li><a href="gmagickdraw.ellipse.html">GmagickDraw::ellipse</a> Draws an ellipse on the image</li><li><a href="gmagickdraw.getfillcolor.html">GmagickDraw::getfillcolor</a> Returns the fill color</li><li><a href="gmagickdraw.getfillopacity.html">GmagickDraw::getfillopacity</a> Returns the opacity used when drawing</li><li><a href="gmagickdraw.getfont.html">GmagickDraw::getfont</a> Returns the font</li><li><a href="gmagickdraw.getfontsize.html">GmagickDraw::getfontsize</a> Returns the font pointsize</li><li><a href="gmagickdraw.getfontstyle.html">GmagickDraw::getfontstyle</a> Returns the font style</li><li><a href="gmagickdraw.getfontweight.html">GmagickDraw::getfontweight</a> Returns the font weight</li><li><a href="gmagickdraw.getstrokecolor.html">GmagickDraw::getstrokecolor</a> Returns the color used for stroking object outlines</li><li><a href="gmagickdraw.getstrokeopacity.html">GmagickDraw::getstrokeopacity</a> Returns the opacity of stroked object outlines</li><li><a href="gmagickdraw.getstrokewidth.html">GmagickDraw::getstrokewidth</a> Returns the width of the stroke used to draw object outlines</li><li><a href="gmagickdraw.gettextdecoration.html">GmagickDraw::gettextdecoration</a> Returns the text decoration</li><li><a href="gmagickdraw.gettextencoding.html">GmagickDraw::gettextencoding</a> Returns the code set used for text annotations</li><li><a href="gmagickdraw.line.html">GmagickDraw::line</a> The line purpose</li><li><a href="gmagickdraw.point.html">GmagickDraw::point</a> Draws a point</li><li><a href="gmagickdraw.polygon.html">GmagickDraw::polygon</a> Draws a polygon</li><li><a href="gmagickdraw.polyline.html">GmagickDraw::polyline</a> Draws a polyline</li><li><a href="gmagickdraw.rectangle.html">GmagickDraw::rectangle</a> Draws a rectangle</li><li><a href="gmagickdraw.rotate.html">GmagickDraw::rotate</a> Applies the specified rotation to the current coordinate space</li><li><a href="gmagickdraw.roundrectangle.html">GmagickDraw::roundrectangle</a> Draws a rounded rectangle</li><li><a href="gmagickdraw.scale.html">GmagickDraw::scale</a> Adjusts the scaling factor</li><li><a href="gmagickdraw.setfillcolor.html">GmagickDraw::setfillcolor</a> Sets the fill color to be used for drawing filled objects.</li><li><a href="gmagickdraw.setfillopacity.html">GmagickDraw::setfillopacity</a> The setfillopacity purpose</li><li><a href="gmagickdraw.setfont.html">GmagickDraw::setfont</a> Sets the fully-specified font to use when annotating with text.</li><li><a href="gmagickdraw.setfontsize.html">GmagickDraw::setfontsize</a> Sets the font pointsize to use when annotating with text.</li><li><a href="gmagickdraw.setfontstyle.html">GmagickDraw::setfontstyle</a> Sets the font style to use when annotating with text</li><li><a href="gmagickdraw.setfontweight.html">GmagickDraw::setfontweight</a> Sets the font weight</li><li><a href="gmagickdraw.setstrokecolor.html">GmagickDraw::setstrokecolor</a> Sets the color used for stroking object outlines.</li><li><a href="gmagickdraw.setstrokeopacity.html">GmagickDraw::setstrokeopacity</a> Specifies the opacity of stroked object outlines.</li><li><a href="gmagickdraw.setstrokewidth.html">GmagickDraw::setstrokewidth</a> Sets the width of the stroke used to draw object outlines.</li><li><a href="gmagickdraw.settextdecoration.html">GmagickDraw::settextdecoration</a> Specifies a decoration</li><li><a href="gmagickdraw.settextencoding.html">GmagickDraw::settextencoding</a> Specifies specifies the text code set</li></ul>
  196. </div>
  197. <hr /><div class="manualnavbar" style="text-align: center;">
  198. <div class="prev" style="text-align: left; float: left;"><a href="gmagick.writeimage.html">Gmagick::writeimage</a></div>
  199. <div class="next" style="text-align: right; float: right;"><a href="gmagickdraw.annotate.html">GmagickDraw::annotate</a></div>
  200. <div class="up"><a href="book.gmagick.html">Gmagick</a></div>
  201. <div class="home"><a href="index.html">PHP Manual</a></div>
  202. </div></body></html>