Function: maskModeFor()
maskModeFor(
__namedParameters):MaskMode
Defined in: src/lib/selection/geometry/index.ts:15
Choose how a new shape combines with the mask from the keys held when it starts: Shift adds, Alt subtracts, otherwise it replaces.
Parameters
__namedParameters
altKey
boolean
shiftKey
boolean
Returns
Example
maskModeFor({ shiftKey: true, altKey: false }); // "add"