« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for styled (0.001 sec.)
imagesetstyle — 線描画用のスタイルを設定する | PHP 8.3 12223
imagesetstyle (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagesetstyle — 線描画用のスタイルを設定する 説明 function imagesetstyle ( GdImage $image , array $style ): bool imagesetstyle() は、特別な IMG_COLOR_STYLED または色を有するイメージの線 IM ... G_COLOR_STYLEDBRUSHED を描画する際に ( imageline() と imagepolygon() のような) 全ての線描画関数で使用されるスタイルを設定します。 パラメー ... , $red , $red , $w , $w , $w , $w , $w ); imagesetstyle ( $im , $style ); imageline ( $im , 0 , 0 , 100 , 100 , IMG_COLOR_STYLED ); /* imagesetstyle を併用した imagesetbrush() を使用して happy face の線を描画します */ $style = array( $w , $w , $w , $w ... ); imagecolortransparent ( $brush , $w2 ); imagesetbrush ( $im , $brush ); imageline ( $im , 100 , 0 , 0 , 100 , IMG_COLOR_STYLEDBRUSHED ); imagejpeg ( $im ); ?> 上の例の出力は、 たとえば以下のようになります。 参考 imagesetbrush() - 線の描画用にブラシイ ...
https://man.mtool.work/php/8.3/function.imagesetstyle.html
imagedashedline — 破線を描画する | PHP 8.3 8968
imagedashedline (PHP 4, PHP 5, PHP 7, PHP 8) imagedashedline — 破線を描画する 説明 function imagedashedline ( GdImage $image , int $x1 , int $y1 , int $x2 , int $y2 , int $color ): true これは古い関数です。代わりに imagesetstyle() と imagel ... G_COLOR_TRANSPARENT ); imagesetstyle ( $im , $style ); // 破線を描画します imageline ( $im , 50 , 25 , 50 , 75 , IMG_COLOR_STYLED ); // 画像を保存します imagepng ( $im , './imageline.png' ); ?> 参考 imagesetstyle() - 線描画用のスタイルを設定する imagel ...
https://man.mtool.work/php/8.3/function.imagedashedline.html
imageantialias — アンチエイリアス機能を使用すべきかどうかを判断する | PHP 8.3 8599
imageantialias (PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8) imageantialias — アンチエイリアス機能を使用すべきかどうかを判断する 説明 function imageantialias ( GdImage $image , bool $enable ): true 直線や多角形を高速に描画するためのアンチエイリアス ... ーネントはサポートしていません。ダイレクトブレンド操作を 使用します。truecolor 画像に対してのみ動作します。 thickness および styled はサポートしていません。 背景色が透明な場合にアンチエイリアス機能を使用すると、予期せぬ結果に 終わることがあります。ブレン ...
https://man.mtool.work/php/8.3/function.imageantialias.html
定義済み定数 | PHP 8.3 7156
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 GD_VERSION ( string ) PHP をコンパイルしたときの GD のバージョン GD_MAJOR_VER ... int ) imagecolorallocate() や imagecolorallocatealpha() で割り当てた色のかわりに使用できる、特別な色オプション。 IMG_COLOR_STYLED ( int ) imagecolorallocate() や imagecolorallocatealpha() で割り当てた色のかわりに使用できる、特別な色オプション。 IMG_COL ... int ) imagecolorallocate() や imagecolorallocatealpha() で割り当てた色のかわりに使用できる、特別な色オプション。 IMG_COLOR_STYLEDBRUSHED ( int ) imagecolorallocate() や imagecolorallocatealpha() で割り当てた色のかわりに使用できる、特別な色オプション。 ...
https://man.mtool.work/php/8.3/image.constants.html
PREV 1 NEXT