Answer the question
In order to leave comments, you need to log in
How to draw with canvas in a circle?
Changed the drawing area from a rectangle to a circle, now there is an error when drawing.
Example code sources
https://codepen.io/dus7/pen/qGQbVP
rolled up their styles
#sig-canvas {
border: 1px solid $gray600;
width: 188px;
height: 188px;
border-radius: 50%;
cursor: crosshair;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question