Skip to main content
Known Participant
March 8, 2023
Question

How to retrieve the stroke align property of path in illustrator sdk using c++

  • March 8, 2023
  • 1 reply
  • 1128 views

How to retrieve the stroke align property of path.. which suite is used to find the stroke align property of path in illustrator sdk... 

 

This topic has been closed for replies.

1 reply

A. Patterson
Inspiring
March 8, 2023

Not sure what you mean. You mean the alignment of a dashed stroke? Can you share a screenshot of the property in the panel you want to manipulate? I don't think there's anything stroke-wise that can't be manipulated via the SDK.

Mahesh12Author
Known Participant
March 8, 2023

Hi,

I want to retrieve the stroke alignment of path like.. stroke align centre, stroke align inside and stroke align outside ... These properties I need to retrieve...

A. Patterson
Inspiring
March 11, 2023

Sorry, been busy!

 

I think you're looking for the AIBeautifulStrokesSuite, found in AIBeautifulStrokes.h. It's a more complicated way of dealing with stroke properties, but anything beyond the basics (butt cap, miter, colour, dash, etc.) is found there. The header has a long preamble explaining how to use it, and frankly I don't have the energy to try and do it myself. It's a lot more complicated than the other properties, but the good news is once you have code to access it, you can access a wealth of stroke & fill properties.