PDA

View Full Version : jsfl for inset


juworld
01-30-2006, 11:50 PM
I want to write a jsfl that can perform a list of actions. One of the action I can't figure out is to do a inset. Is it even posible?

I am new to jsfl. I am looking for a way to perform this task using jsfl: Modify -> Shape -> Expand Fill -> Distance 2 px with Inset Direction

I tried using width -= 2 and height -= 2, but that will only work well with standard orientation object (0 degree rotation). If I do that for a 28 degree rotation on a polygon, it doesn't work as well.

Thanks!