mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 18:26:50 -06:00
A placed graphic keeps its clipping path (Detect Edges, Alpha Channel, Photoshop Path or User-Modified Path) in graphic space, with the options IDML carries. IDML import reads ClippingPathSettings and its saved ClippingPathGeometry (anchors capped, non-finite subpaths dropped); export writes them back. The canvas and PDF export clip the image to the path inside the frame clip; an inverted path shows the image outside it. Without saved geometry nothing changes. object.clippingPathOptions reports a graphic's clipping path, inverts it or removes it (Object > Clipping Path > None). Fixes #450.