How do I set or change the anchor points of layers in code? Is there a property I can set that corresponds to the pin controls in design mode, or do I need to align layers by listening to resize events?
The constraints API is not yet public. We are planning to open it up once we settle on it. If you want to dive in anyway you can read the Framer source on Github.