You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SVGContext.rect() should prepare but not draw a rectangle until stroke() or fill() are called to match the CanvasContext implementation. (See discussion in #736.)
The text was updated successfully, but these errors were encountered:
It has caused confusion in the past, where we think CanvasContext is buggy: #638
We should have SVGContext and CanvasContext match as closely as possible. Any superchanged convenience methods should have a different name. For example, if we want a method that adds the path and also strokes/fills, we could call it .drawRectWithStyle(x,y,w,h,styleObject). That way we can implement the convenience method in both CanvasContext and SVGContext.
SVGContext.rect()
should prepare but not draw a rectangle untilstroke()
orfill()
are called to match theCanvasContext
implementation. (See discussion in #736.)The text was updated successfully, but these errors were encountered: