Trying to keep my shape layers on whole pixels to avoid subpixel blurring.
For one-dimensional properties, this works fine:
Math.round(value);
But for two dimensional props, I'm running into errors with things like this:
temp = Math.round(content("Rectangle 1").content("Rectangle Path 1").size.value)
(temp[0],temp[1])
temp = Math.round(content("Rectangle 1").content("Rectangle Path 1").size)
(temp[0],temp[1])
I'm sure my syntax is off. Properties in arrays always give me problems. Can you help?