cupertino-files / buildRectangularMask
Function: buildRectangularMask()
buildRectangularMask(
store,window,component,options?):IwaObject
Defined in: src/tsd/masks.ts:180
Build the mask archive Apple writes for a rectangular crop.
Reproduced field for field from the corpus, including the trailing moveTo(0,0) after the closing element — a quirk present in all 79 masks examined, and cheap to keep. The mask node is a full drawable: its parent is the image it masks (79 of 79 corpus masks carry the field, and never declare it — the container rule), it has its own exterior_text_wrap, and it states locked, aspect_ratio_locked, title_hidden and caption_hidden explicitly. A bare-geometry mask renders but the app's mask editor will not engage with it.
Parameters
store
window
component
options?
parentId?
bigint