Results of 1 - 2 of about 2 for thick (0.003 sec.)
- 直線を描画する 9357
- « imagelayereffect imageloadfont » PHP Manual GD および Image 関数 直線を描画する 検索 imageline (PHP 4, PHP 5, PHP 7, PHP 8) imageline — 直線を描画する 説明 function imageline ( GdImage $image , int $x1 , int $y1 , int $x2 , int $y2 , int
... した。 これより前のバージョンでは、有効な gd resource が期待されていました。 例 例1 太い線を描画する <?php function imagelinethick ( $image , $x1 , $y1 , $x2 , $y2 , $color , $thick = 1 ) { /* この方法は直行する線の場合のみうまく動作します imagesetthick ... ness($image, $thick); return imageline($image, $x1, $y1, $x2, $y2, $color); */ if ( $thick == 1 ) { return imageline ( $image , $x1 , $y1 , $x ... 2 , $y2 , $color ); } $t = $thick / 2 - 0.5 ; if ( $x1 == $x2 || $y1 == $y2 ) { return imagefilledrectangle ( $image , round ( min ( $x1 , $x2 ) - $t ), rou ...
-
https://man.mtool.work/php/8.3/function.imageline.html
- 直線を描画する 9357
- « imagelayereffect imageloadfont » PHP Manual GD および Image 関数 直線を描画する 検索 imageline (PHP 4, PHP 5, PHP 7, PHP 8) imageline — 直線を描画する 説明 function imageline ( GdImage $image , int $x1 , int $y1 , int $x2 , int $y2 , int
... した。 これより前のバージョンでは、有効な gd resource が期待されていました。 例 例1 太い線を描画する <?php function imagelinethick ( $image , $x1 , $y1 , $x2 , $y2 , $color , $thick = 1 ) { /* この方法は直行する線の場合のみうまく動作します imagesetthick ... ness($image, $thick); return imageline($image, $x1, $y1, $x2, $y2, $color); */ if ( $thick == 1 ) { return imageline ( $image , $x1 , $y1 , $x ... 2 , $y2 , $color ); } $t = $thick / 2 - 0.5 ; if ( $x1 == $x2 || $y1 == $y2 ) { return imagefilledrectangle ( $image , round ( min ( $x1 , $x2 ) - $t ), rou ...
-
https://man.mtool.work/php/8.3/function.imageline.html
PREV
1
NEXT