I am trying to read a fill's fill rule, how can i do that?
I there are borderOptions() in the layer.style() to get info from that little gear icon on border, but i cant find a 'fiilOption()' method
If the layer is a MSShapeGroup you could access it with layer.bezierPath().windingRule(), 0 for "Non-Zero" and 1 for "Even-Odd".
markh Yes! Thank you very much!
Just noticed that MSShapeGroup has windingRule property so you could do layer.windingRule() instead.
markh Yes. Both of them are OK for me. Thanks! Great help!