Skip to content

cupertino-files / buildRectangularMask

Function: buildRectangularMask()

buildRectangularMask(store, window, component): IwaObject

Defined in: src/tsd/masks.ts:184

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.

Parameters

store

ObjectStore

window

Rect

component

Component

Returns

IwaObject

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.