« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 7 of about 7 for imagesetthickness (0.002 sec.)
imagesetthickness — 線描画用の線幅を設定する | PHP 8.3 13486
imagesetthickness (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagesetthickness — 線描画用の線幅を設定する 説明 function imagesetthickness ( GdImage $image , int $thickness ): true imagesetthickness() は、長方形、多角形、弧などを描画する際の線幅を ... ラスのインスタンスを期待するようになりました。 これより前のバージョンでは、有効な gd resource が期待されていました。 例 例1 imagesetthickness() の例 <?php // 200x100 の画像を作成します $im = imagecreatetruecolor ( 200 , 100 ); $white = imagecolorallocate ( $im , 0 ... 0x00 , 0x00 ); // 背景を白に設定します imagefilledrectangle ( $im , 0 , 0 , 199 , 99 , $white ); // 線幅を 5 に設定します imagesetthickness ( $im , 5 ); // 矩形を描画します imagerectangle ( $im , 14 , 14 , 185 , 85 , $black ); // 画像をブラウザに出力します heade ...
https://man.mtool.work/php/8.3/function.imagesetthickness.html
imageellipse — 楕円を描画する | PHP 8.3 8633
imageellipse (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imageellipse — 楕円を描画する 説明 function imageellipse ( GdImage $image , int $center_x , int $center_y , int $width , int $height , int $color ): true 指定した座標を中心とする楕円を描画し ... -type: image/png" ); imagepng ( $image ); ?> 上の例の出力は、 たとえば以下のようになります。 注意 注意 : imageellipse() は imagesetthickness() を無視します。 参考 imagefilledellipse() - 塗りつぶされた楕円を描画する imagearc() - 部分楕円を描画する 他のマニュアルの ...
https://man.mtool.work/php/8.3/function.imageellipse.html
imagefilledellipse — 塗りつぶされた楕円を描画する | PHP 8.3 8633
imagefilledellipse (PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8) imagefilledellipse — 塗りつぶされた楕円を描画する 説明 function imagefilledellipse ( GdImage $image , int $center_x , int $center_y , int $width , int $height , int $color ): true 指定 ... image/png" ); imagepng ( $image ); ?> 上の例の出力は、 たとえば以下のようになります。 注意 注意 : imagefilledellipse() は imagesetthickness() を無視します。 参考 imageellipse() - 楕円を描画する imagefilledarc() - 楕円弧を描画し、塗りつぶす 他のマニュアルの関連ペ ...
https://man.mtool.work/php/8.3/function.imagefilledellipse.html
imageline — 直線を描画する | PHP 8.3 8451
imageline (PHP 4, PHP 5, PHP 7, PHP 8) imageline — 直線を描画する 説明 function imageline ( GdImage $image , int $x1 , int $y1 , int $x2 , int $y2 , int $color ): true 指定したふたつの点を結ぶ直線を描画します。 パラメータ image imagecreatet ... magelinethick ( $image , $x1 , $y1 , $x2 , $y2 , $color , $thick = 1 ) { /* この方法は直行する線の場合のみうまく動作します imagesetthickness($image, $thick); return imageline($image, $x1, $y1, $x2, $y2, $color); */ if ( $thick == 1 ) { return imageline ( $image , ...
https://man.mtool.work/php/8.3/function.imageline.html
GD および Image 関数 | PHP 8.3 8197
GD および Image 関数 目次 gd_info — 現在インストールされているGDライブラリに関する情報を取得する getimagesize — 画像の大きさを取得する getimagesizefromstring — 画像の大きさを文字列から取得する image_type_to_extension — 画像形式からファイルの ... 定する imagesetinterpolation — 補間方法を設定する imagesetpixel — 点を生成する imagesetstyle — 線描画用のスタイルを設定する imagesetthickness — 線描画用の線幅を設定する imagesettile — 塗りつぶし用のイメージを設定する imagestring — 文字列を水平に描画する imagestrin ...
https://man.mtool.work/php/8.3/ref.image.html
画像処理 (GD) | PHP 8.3 8106
画像処理 (GD) はじめに PHPができることは、HTML出力を生成することだけではありません。PHP は、多くの異なるイメージ形式でイメージファイルを作成したり、操作 したりすることもできます。このイメージ形式には、 GIF , PNG , JPEG , WBMP および XPM が含 ... 定する imagesetinterpolation — 補間方法を設定する imagesetpixel — 点を生成する imagesetstyle — 線描画用のスタイルを設定する imagesetthickness — 線描画用の線幅を設定する imagesettile — 塗りつぶし用のイメージを設定する imagestring — 文字列を水平に描画する imagestrin ...
https://man.mtool.work/php/8.3/book.image.html
リソース型の一覧 | PHP 8.3 8015
リソース型の一覧 以下にPHPのリソースを生成、使用、破棄するための関数の一覧を示します。 is_resource() によりある変数がリソースであるかど うかを調べることが可能です。また、 get_resource_type() は変数のリソース型を返します。 Resource Types リソ ... copymerge() , imagecopymergegray() , imagecopyresampled() , imagetruecolortopalette() , imagesetbrush() , imagesettile() , imagesetthickness() , image2wbmp() , imagealphablending() , imageantialias() , imagecolorallocatealpha() , imagecolorclosesthwb() , imagecol ...
https://man.mtool.work/php/8.3/resource.html
PREV 1 NEXT