HaruPage::lineTo

(PECL haru >= 0.0.1)

HaruPage::lineToDraw a line from the current point to the specified point

说明

HaruPage::lineTo ( float $x , float $y ) : bool

Draws a line from the current point to the specified point.

参数

x

y

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

参见

相关文章
php eventbuffer move all data from a buffer provided to the current instance of eventbufferphp eventbuffer moves the specified number of bytes from a source buffer to the end of the current bufferphp imap 函数 mark a message for deletion from current mailboxphp ldap 函数 delete attribute values from current attributesphp ncurses 函数 clear screen from current position to end of linephp ncurses 函数 draw a horizontal line at current position using an attributed character and max. n characters longphp ncurses 函数 draw a vertical line at current position using an attributed character and max. n characters longphp newt 函数 replaces the current help line with the one from the stackphp harupage begin a text object and set the current text position to 0 0 php harupage append a straight line from the current point to the start point of the pathphp harupage concatenate current transformation matrix of the page and the specified matrixphp harupage get the current line cap stylephp harupage get the current line join stylephp harupage get the current line widthphp harupage get the current value of line spacingphp harupage draw a line from the current point to the specified pointphp harupage calculate the byte length of characters which can be included on one line of the specified widthphp harupage move the current position to the start of the next line and print the textphp intlrulebasedbreakiterator get the largest status value from the break rules that determined the current break positionphp splfileobject gets line from file and strip html tags
关注编程学问公众号