« GmagickDraw::rotate
GmagickDraw::scale »

GmagickDraw::roundrectangle

(PECL gmagick >= Unknown)

GmagickDraw::roundrectangle — 角が丸い矩形を描く

説明

public function GmagickDraw::roundrectangle(
    float $x1,
    float $y1,
    float $x2,
    float $y2,
    float $rx,
    float $ry
): GmagickDraw

二つの座標そして x 方向と y 方向の角の半径を指定して、現在の描画色と線幅そして塗りつぶし設定を使った過度の丸い矩形を描きます。

パラメータ

x1

最初の x 座標。

y1

最初の y 座標。

x2

二番目の x 座標。

y2

二番目の y 座標。

rx

水平方向の角の半径。

ry

垂直方向の角の半径。

戻り値

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

関連キーワード:
GmagickDraw   float   座標   矩形   方向   roundrectangle   半径   最初   rotate   scale   gmagick   Unknown   描画   線幅   水平   垂直
関連する関数・ページ:
gmagickdraw.rectangle   gmagickdraw.arc   gmagickdraw.point   gmagickdraw.line   gmagickdraw.ellipse   gmagickdraw.rotate