Gmagick GmagickDraw::rectangle

(PECL gmagick >= Unknown)

GmagickDraw::rectangle — 직사각형을 그립니다.


설명

public GmagickDraw::rectangle(
    float $x1,
    float $y1,
    float $x2,
    float $y2
): GmagickDraw
                

두 좌표가 주어지고 현재 획, 획 너비 및 채우기 설정을 사용하여 사각형을 그립니다.


매개변수

x1
x ordinate of first coordinate
y1
y ordinate of first coordinate
x2
x ordinate of second coordinate
y2
y ordinate of second coordinate

반환 값

GmagickDraw 개체