Skip to content

How to change default setting like borderColor in farbirc V6 for all objects? #10226

Answered by RylanBot
RylanBot asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, I see now. I checked out this discussion, and that really helped.
The correct syntax for version 6 is: FabricObject.ownDefaults.borderColor = 'red';

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by RylanBot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants