Results of 1 - 1 of about 1 for dashedline (0.002 sec.)
- imagedashedline — 破線を描画する | PHP 8.3 9414
- 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
... のインスタンスを期待するようになりました。 これより前のバージョンでは、有効な gd resource が期待されていました。 例 例1 imagedashedline() の例 <?php // 100x100 の画像を作成します $im = imagecreatetruecolor ( 100 , 100 ); $white = imagecolorallocate ( $im , 0 ... xFF , 0xFF , 0xFF ); // 縦の破線を描画します imagedashedline ( $im , 50 , 25 , 50 , 75 , $white ); // 画像を保存します imagepng ( $im , './dashedline.png' ); ?> 上の例の出力は、 たとえ ... ば以下のようになります。 例2 imagedashedline() のもうひとつの使用法 <?php // 100x100 の画像を作成します $im = imagecreatetruecolor ( 100 , 100 ); $white = imagecoloral ...
-
https://man.mtool.work/php/8.3/function.imagedashedline.html
PREV
1
NEXT