Imagick::colorFloodfillImage
(No version information available, might be only in CVS)
Imagick::colorFloodfillImage — 色にマッチするピクセルを変更する
説明
bool Imagick::paintFloodfillImage
( mixed $fill
, float $fuzz
, mixed $bordercolor
, int $x
, int $y
[, int $channel
] )
警告
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
対象にマッチするピクセルとその近傍の色を変更します。
パラメータ
- fill
-
塗りつぶし色を表す ImagickPixel オブジェクトあるいは文字列。
- fuzz
-
fuzz の量。たとえば fuzz を 10 にすると、 強度 100 の赤と 102 の赤は同じ色とみなします。
- bordercolor
-
境界色を表す ImagickPixel オブジェクトあるいは文字列。
- x
-
floodfill の開始位置の X 座標。
- y
-
floodfill の開始位置の Y 座標。
- channel
-
チャネルモードに対応したチャネル定数を指定します。 複数のチャネルに適用するには、 ビット演算子でチャネル型定数を組み合わせます。 デフォルトは Imagick::CHANNEL_ALL です。 チャネル定数 の一覧を参照ください。
返り値
成功した場合に TRUE を返します。
Imagick::colorFloodfillImage
There are no user contributed notes for this page.
