php - Clip Path coordinates programmatically -


i've paths , clip these paths specific region (green) resulting in remaining paths (red):

enter image description here

what best way/approach commonly manually cutting paths?

choose suitable line-clipping algorithm.

i've used liang–barsky one.
(wiki page so-so, try find better description)


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -