Sketch Plugin, written in JSTalk ( http://jstalk.org ).
Skrx ( ~skreecks ) exports a selection of elements (for now only the rectangles) to Apache Flex MXML or FXG description, and copy it to clipboard.
Learn more about Sketch extensions/scripting
Basic generated skins examples : http://www.rxla.bz/skrx/
Generated MXML
- multi states fills and strokes export ( default / .over / .down / .disabled )
- export FXG
- strokes thickness
- strokes pixelHinting
- gradient angle
- shadows , innerShadows (blur, color, alpha, strength)
- spread / strength conversion ( = spread + 1 )
- tabs fixes
- local relative coordinates
- linearGradient Strokes
- multiple rectangles
- Completed Alert
- Radial gradient colors ( fixme : focalCenter )
- refactoring
- clipboard
- setLocalPositionAlert
- setLocalPosition ( base x y position on selection area top left point )
- linearGradient fill
- coordinates
- fill and stroke