Open dlednik opened 6 years ago
Is there a way for canvas to fill the drawing area?
Is something like this possible:
"size": {"canvasWidth": "100%"}
Problem I have is that it's not rendered the same at different resolutions. I would expect SVG to fill the drawing area automatically.
I'm using this to occupy full containing Div area:
"size": { "canvasHeight": document.getElementById("divName").offsetHeight, "canvasWidth": document.getElementById("divName").offsetWidth, ... },
Is there a way for canvas to fill the drawing area?
Is something like this possible:
Problem I have is that it's not rendered the same at different resolutions. I would expect SVG to fill the drawing area automatically.