forked from: FShape path draw

