Function: resetSource()
resetSource(
config,preset,source):Partial<BrushConfig>
Defined in: src/lib/brushes/configRanges/index.ts:454
Put back how a preset varies the pen settings (PEN_PARAMS) that vary with a source differently from it, as config
changes: each such setting's whole variation (every source and its profile graph).
Parameters
config
preset
source
Returns
Partial<BrushConfig>
Example
resetSource({ widthConfig: { usePressure: true } }, {}, "pressure"); // { widthConfig: {} }