Function: writeSourceProfile()
writeSourceProfile(
config,param,source,profile,profileId?):Partial<BrushConfig>
Defined in: src/lib/brushes/configRanges/index.ts:389
Give a source its own profile graph for a setting, as config changes; none removes it.
Parameters
config
param
source
profile
ProfilePoint[] | undefined
profileId?
string
Returns
Partial<BrushConfig>
Example
writeSourceProfile(config, "width", "pressure", PROFILE_PRESETS[1].content.points, "overweight");