We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const { createCanvas } = require('@napi-rs/canvas'); const w = 100; const h = 100; const canvas = createCanvas(w, h); const ctx = canvas.getContext('2d'); ctx.fillText('ABC\nDE', 10, 40);
in browser canvas
in @napi-rs/canvas
The text was updated successfully, but these errors were encountered:
fix: stroke/fill text should treat \n as space
a36aec8
Close #434
4c9ac1e
b3476a4
Close Brooooooklyn/canvas#434
f351f16
ae43340
Brooooooklyn
Successfully merging a pull request may close this issue.
in browser canvas
in @napi-rs/canvas
The text was updated successfully, but these errors were encountered: