Proposal: implement CanvasDrawPath.fillAndStroke() #518
Labels
addition/proposal
New features or enhancements
needs implementer interest
Moving the issue forward requires implementers to express interest
I would like to suggest the addition of a method that performs both a fill and a stroke operation on the current path, or on the path passed to it, in a way that:
CanvasCompositing
interface (globalAlpha
,globalCompositeOperation
) as well as theCanvasShadowStyles
interface (shadowOffsetX
,shadowOffsetY
,shadowBlur
,shadowColor
) are applied to the combined result of the operation, so that:The absence of such a possibility requires many hacks with double buffering, resulting in performance that's far from optimal. I believe that this simple addition would solve many situations that so far require such a hack.
The text was updated successfully, but these errors were encountered: