PHP Manual

  • English French German Portuguese Spanish
PHP Manual Function Reference Image Processing and Generation Gmagick GmagickDraw GmagickDraw::line
GmagickDraw GmagickDraw::annotate GmagickDraw::arc GmagickDraw::bezier GmagickDraw::ellipse GmagickDraw::getfillcolor GmagickDraw::getfillopacity GmagickDraw::getfont GmagickDraw::getfontsize GmagickDraw::getfontstyle GmagickDraw::getfontweight GmagickDraw::getstrokecolor GmagickDraw::getstrokeopacity GmagickDraw::getstrokewidth GmagickDraw::gettextdecoration GmagickDraw::gettextencoding GmagickDraw::line GmagickDraw::point GmagickDraw::polygon GmagickDraw::polyline GmagickDraw::rectangle GmagickDraw::rotate GmagickDraw::roundrectangle GmagickDraw::scale GmagickDraw::setfillcolor GmagickDraw::setfillopacity GmagickDraw::setfont GmagickDraw::setfontsize GmagickDraw::setfontstyle GmagickDraw::setfontweight GmagickDraw::setstrokecolor GmagickDraw::setstrokeopacity GmagickDraw::setstrokewidth GmagickDraw::settextdecoration GmagickDraw::settextencoding
  • GmagickDraw::gettextencoding
  • GmagickDraw::point

GmagickDraw::line

(PECL gmagick >= Unknown)

GmagickDraw::line — The line purpose

Description

public GmagickDraw GmagickDraw::line ( float $sx , float $sy , float $ex , float $ey )

Draws a line on the image using the current stroke color, stroke opacity, and stroke width.

Parameters

sx

starting x ordinate

sy

starting y ordinate

ex

ending x ordinate

ey

ending y ordinate

Return Values

The GmagickDraw object on success

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.