downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Gmagick::solarizeimage> <Gmagick::setsize
[edit] Last updated: Fri, 17 May 2013

view this page in

Gmagick::shearimage

(PECL gmagick >= Unknown)

Gmagick::shearimage平行四辺形を作成する

説明

public Gmagick Gmagick::shearimage ( mixed $color , float $xShear , float $yShear )

画像を X 軸方向あるいは Y 軸方向に押しつぶし、平行四辺形を作成します。 X 方向に押しつぶすと X 軸方向にスライドし、Y 方向に押しつぶすと Y 軸方向にスライドします。押しつぶす量は、角度で指定します。 X 方向に押しつぶす場合、x_shear は Y 軸からの相対角度となります。 同様に、Y 方向に押しつぶす場合は y_shear が X 軸からの相対角度となります。 変形によってできた空白部分は、背景色で埋められます。

パラメータ

color

背景色。

xShear

x 軸方向に押しつぶす角度。

yShear

y 軸方向に押しつぶす角度。

返り値

成功した場合に Gmagick オブジェクトを返します。

エラー / 例外

エラー時に GmagickException をスローします。



add a note add a note User Contributed Notes Gmagick::shearimage - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites