男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站

ImagickDraw::line

(PECL imagick 2, PECL imagick 3)

ImagickDraw::lineDraws a line

說(shuō)明

public ImagickDraw::line(
    float $sx,
    float $sy,
    float $ex,
    float $ey
): bool
警告

本函數還未編寫(xiě)文檔,僅有參數列表。

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

參數

sx

starting x coordinate

sy

starting y coordinate

ex

ending x coordinate

ey

ending y coordinate

返回值

沒(méi)有返回值。

范例

示例 #1 ImagickDraw::line() example

<?php
function line($strokeColor$fillColor$backgroundColor) {

    
$draw = new \ImagickDraw();

    
$draw->setStrokeColor($strokeColor);
    
$draw->setFillColor($fillColor);

    
$draw->setStrokeWidth(2);
    
$draw->setFontSize(72);

    
$draw->line(1257010050);
    
$draw->line(350170100150);

    
$imagick = new \Imagick();
    
$imagick->newImage(500500$backgroundColor);
    
$imagick->setImageFormat("png");
    
$imagick->drawImage($draw);

    
header("Content-Type: image/png");
    echo 
$imagick->getImageBlob();
}

?>

男女疯狂一边摸一边做羞羞视频|啊好深好硬快点用力别停动态图|亚洲一区无码中文字幕|特级无码毛片免费视频播放▽|久久狠狠躁免费观看|国内精品久久久久久网站