tools.erase
Universal eraser tool; it can remove the page's own content. Needs the
annotations license feature. Takes an EraseConfig object (or true, the same as {}) for the brush sizes, in points. A minSize, maxSize or defaultSize that is not a positive number keeps its default. A maxSize below minSize is raised to it, and a defaultSize outside them is brought inside; each correction is reported with a console warning.boolean | EraseConfigdefault on, within the mode
Example
eraseTypeScript
tools: { erase: { minSize: 4, maxSize: 32, defaultSize: 12 } }
Options 3
Smallest brush, in points.
Largest brush, in points. One below
minSize is raised to it.Brush a session starts with, in points. One outside
minSize–maxSize is brought inside.