-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
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
Fabricjs 2.0 Text decoration #4555
Comments
i cannot find the notice in any docs. you have to use underline: true/false , overline:true/false, line-trough: true/false |
line-through: true/false - doesn't work ... Where i can post feature request? |
Please read the FabricJS Docs http://fabricjs.com/docs/fabric.IText.html You must use canvas.getActiveObject().set("linethrough", true); |
Doc says its type is fabric.js/src/shapes/text.class.js Lines 93 to 114 in efa490f
|
|
* Added callback in setPatternFill As Pattern constructor taking callback, we can use it. * doc changed fabricjs#4555 * jsdoc @link added in setCoords
Just in case someone can still hit this issue, i updated the official doc with a note. |
2.0
Test Case
https://jsfiddle.net/bLn363j1/1/
Can't set underline/overline/line-through...
Worked well in 1.x
The text was updated successfully, but these errors were encountered: