I draw square. The 1st point and last points are left-top and finally set 5 points.
The direction is clock-wise and made closed path.
To get smooth-curved polygon shape, I used API 'PointsToCurves'.
But, the first and last points are connected by cornered (not smooth) point.
Maybe, I must set that square is closed path, to API, but it seems to be no parameter to set.
So, I want to know how to get smooth corner shape every corner.
I use SDK CS5.
One thing to try is creatin four points (drop the repeated last one) and set the path to be closed. That might let Illustrator do the work for you. Failing that, maybe make sure the first & lastpoints have 'corner' set to false?
Thanks for giving me surgestions.
It seems for 'PointsToCurves', there's no way to make specify that pass is closed.
And, I tried to set 'corner' parameter (member of 'segments').
Points are 4, so the shape was opened pass.
First, I set false (i.e. smooth) to the first and last points, the result was same as before.
2ndly, I set true (i.e. corner) to the first and last points, the result was same.
Have you tried both of those with five points (i.e. repeating first & last point)? I'm assuming yes. If that doesn't work, I'm kind of stumped. It feels like this should be doable, but I'm not sure why its not working.
Europe, Middle East and Africa