How to set the fill color of recognized shape (diagram)?
T
Trevor Stout
started a topic
over 6 years ago
I'm trying to set the fill color to clear in a recognized shape (see the rectangle in the diagram below) in iOS. I'm using the following penStyle, however only the stoke is changing, not the fill color.
Trevor Stout
I'm trying to set the fill color to clear in a recognized shape (see the rectangle in the diagram below) in iOS. I'm using the following penStyle, however only the stoke is changing, not the fill color.
Any advice on how set the fill color?
Thanks,
Trevor.
editorViewController.editor.penStyle = "color: #007AFFFF; -myscript-pen-width: 1.0; -myscript-pen-fill-style: none;"
You should be able to achieve what you want by setting a theme on your editor:
For more information, please refer to the styling section of the documentation.
Best regards,
Thomas
Deleted Agent
You should be able to achieve what you want by setting a theme on your editor:
For more information, please refer to the styling section of the documentation.
Best regards,
Thomas
1 person likes this