Skip to main content
Participant
November 20, 2016
Question

How do I determine the stroke alignment?

  • November 20, 2016
  • 1 reply
  • 438 views

How do I determine the stroke alignment for a given path?

I see that you can set it via SetStrokeAlignment in the AIPaintStyleSuite, and you can get it for a selection via GetStrokeAlignmentFromSelection.  However, I just want to be able to get the current value for a specific path.  Is the only way to select the path then call GetStrokeAlignmentFromSelection?

Thanks!

This topic has been closed for replies.

1 reply

A. Patterson
Inspiring
November 22, 2016

I don't see any other way either. That's pretty strange, especially since they let you set the stroke alignment specifically. I think it's just a terrible API decision. Maybe they'll fix it in the future, but that's not going to be helpful to you now unfortunately