« GmagickDraw::polyline
GmagickDraw::rotate »

GmagickDraw::rectangle

(PECL gmagick >= Unknown)

GmagickDraw::rectangle — 矩形を描く

説明

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

二つの座標を指定して、現在の描画色と線幅そして塗りつぶし設定を使った矩形を描きます。

パラメータ

x1

最初の x 座標。

y1

最初の y 座標。

x2

二番目の x 座標。

y2

二番目の y 座標。

戻り値

GmagickDraw オブジェクトを返します。

関連キーワード:
GmagickDraw   座標   矩形   float   rectangle   最初   polyline   rotate   gmagick   Unknown   描画   線幅
関連する関数・ページ:
gmagickdraw.arc   gmagickdraw.roundrectangle   gmagickdraw.point   gmagickdraw.line   gmagickdraw.polyline   gmagickdraw.rotate