Quantcast
Channel: Pixi.js Latest Topics
Viewing all articles
Browse latest Browse all 3978

Graphics: transparent lines with bezier curves have overlapping area at join

$
0
0

When two lines (with alpha = 0.2 or something <1) are thick, and close together, with a bezier curve connecting them, and you try to join them, the behavior will be strange but understandable (see the attachment)

Just wondering whether there are some work arounds? Thanks in advance!

Here's a running example:

PixiJS v5 Line Join and Line Caps - JSFiddle - Code Playground

 

截屏2021-12-07 上午9.33.32.png


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>