Hi all,
I need to load a FeatureLayer where all graphics are colorized using a visual ColorVariable and overlaid with a hatched pattern in a fixed color.
To achieve this, I'm using CIMHatchFill, a visual ColorVariable, and the colorLocked property.
Everything works as expected in version 4.31: the fill color is dynamically set by the ColorVariable, and the hatch pattern is locked to a fixed grey color.
However, in version 4.32, the colorLocked property no longer works correctly with CIMHatchFill.
Here is a sample code snippet that reproduces the issue.
As you can see when running the sample:
In version 4.31, the fill color is controlled by the ColorVariable, and the hatch pattern remains grey (as expected).
In version 4.32, the fill color is still correctly controlled by the ColorVariable, but the hatch pattern is no longer locked to grey (unexpected behavior).
Perhaps this unexpected behavior is related to this issue?
Thanks in advance for any help.
Thank you for reporting this, we will take a look.