Open davidedc opened 9 years ago
hah, I'd never noticed that about the end caps.
So I think that making improvements to 'line' and untying it from 'skeleton' would be a good call. I'm not so sold on the name 'skeleton' though. Perhaps 'edge' and 'edgeSize'? or some variation?
Edge sounds good but I'm worried about burning such a fundamental graphic keyword. Not that I have plans to use it, but still...
how about "wire"? Would people get it?
haha, wire sounds pretty good actually. we seem to have this habit of choosing slightly off beat words for everything, so I think that fits :p
maybe "wires", so it's clearer that you are not drawing a wire?
Lines are problematic - they don't obey scale (or perspective) in regards to their thickness.
Thickness could be set by using strokeSize but
So strokeSize is problematic and scaling lines is problematic. At the same time, changing the current stroke of the primitives to a custom implementation is too difficult (I think).
The good news is that we can fix some lines (the ones we create by using "line" now) by using some proper geometries to draw them (possibly with nice linecap, depending on some lineCap and lineDetail that we might want to set).
So perhaps we should distinguish between "line" + "lineSize" (which we can fix) and "skeleton" + "skeletonSize" (which I don't think we can easily fix)... Thoughts?