« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 2 of about 2 for corners (0.001 sec.)
点を生成する 9357
« imagesetinterpolation imagesetstyle » PHP Manual GD および Image 関数 点を生成する 検索 imagesetpixel (PHP 4, PHP 5, PHP 7, PHP 8) imagesetpixel — 点を生成する 説明 function imagesetpixel ( GdImage $image , int $x , int $y , int $color ): ... の例 A random drawing that ends with a regular picture. <?php $x = 200 ; $y = 200 ; $gd = imagecreatetruecolor ( $x , $y ); $corners [ 0 ] = array( 'x' => 100 , 'y' => 10 ); $corners [ 1 ] = array( 'x' => 0 , 'y' => 190 ); $corners [ 2 ] = array( 'x' => 2 ... i = 0 ; $i < 100000 ; $i ++) { imagesetpixel ( $gd , round ( $x ), round ( $y ), $red ); $a = rand ( 0 , 2 ); $x = ( $x + $corners [ $a ][ 'x' ]) / 2 ; $y = ( $y + $corners [ $a ][ 'y' ]) / 2 ; } header ( 'Content-Type: image/png' ); imagepng ( $gd ); ? ... cate() - 画像で使用する色を作成する imagecolorat() - ピクセルの色のインデックスを取得する 関連キーワード: imagesetpixel gd corners image GdImage int 座標 imagecreatetruecolor imagecolorallocate array color true ピクセル 画像 バージョン 期待 red round im ...
https://man.mtool.work/php/8.3/function.imagesetpixel.html
点を生成する 9357
« imagesetinterpolation imagesetstyle » PHP Manual GD および Image 関数 点を生成する 検索 imagesetpixel (PHP 4, PHP 5, PHP 7, PHP 8) imagesetpixel — 点を生成する 説明 function imagesetpixel ( GdImage $image , int $x , int $y , int $color ): ... の例 A random drawing that ends with a regular picture. <?php $x = 200 ; $y = 200 ; $gd = imagecreatetruecolor ( $x , $y ); $corners [ 0 ] = array( 'x' => 100 , 'y' => 10 ); $corners [ 1 ] = array( 'x' => 0 , 'y' => 190 ); $corners [ 2 ] = array( 'x' => 2 ... i = 0 ; $i < 100000 ; $i ++) { imagesetpixel ( $gd , round ( $x ), round ( $y ), $red ); $a = rand ( 0 , 2 ); $x = ( $x + $corners [ $a ][ 'x' ]) / 2 ; $y = ( $y + $corners [ $a ][ 'y' ]) / 2 ; } header ( 'Content-Type: image/png' ); imagepng ( $gd ); ? ... llocate() - 画像で使用する色を作成する imagecolorat() - ピクセルの色のインデックスを取得する 関連キーワード: imagesetpixel corners image GdImage 座標 imagecreatetruecolor imagecolorallocate color ピクセル 画像 期待 round imagesetinterpolation imagesetst ...
https://man.mtool.work/php/8.3/function.imagesetpixel.html
PREV 1 NEXT