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

search for in the

Imagick::sigmoidalContrastImage> <Imagick::shaveImage
Last updated: Fri, 30 Jan 2009

view this page in

Imagick::shearImage

(No version information available, might be only in CVS)

Imagick::shearImage平行四辺形を作成する

説明

bool Imagick::shearImage ( mixed $background , float $x_shear , float $y_shear )
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

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

パラメータ

background

背景色。

x_shear

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

y_shear

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

返り値

成功した場合に TRUE を返します。

変更履歴

バージョン 説明
2.1.0 色を表す文字列を最初のパラメータとして指定できるようになりました。 これまでのバージョンでは ImagickPixel オブジェクトしか指定できませんでした。



add a note add a note User Contributed Notes
Imagick::shearImage
There are no user contributed notes for this page.

Imagick::sigmoidalContrastImage> <Imagick::shaveImage
Last updated: Fri, 30 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites