We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Eq
LineCap
1 parent 1c136fc commit 90bccbeCopy full SHA for 90bccbe
src/Graphics/Canvas.purs
@@ -226,6 +226,8 @@ foreign import setMiterLimit :: forall eff. Number -> Context2D -> Eff (canvas :
226
-- | Enumerates the different types of line cap.
227
data LineCap = Round | Square | Butt
228
229
+derive instance eqLineCap :: Eq LineCap
230
+
231
foreign import setLineCapImpl :: forall eff. String -> Context2D -> Eff (canvas :: CANVAS | eff) Context2D
232
233
-- | Set the current line cap type.
0 commit comments