Method Exclude
Exclude(Region)
Causes the provided region to be excluded from GetCellMap() and GetMap(). Lines at excluded positions still exist in the canvas and still participate in intersection resolution (auto-join), but the resolved cells are filtered out of the output.
public void Exclude(Region region)
Parameters
regionRegion
Remarks
Use this when something else has already been drawn at a position and the line-art glyph should not overwrite it — for example, a title label drawn on a border line, or a SubView that renders its own LineCanvas independently.
Each call to this method will add to the exclusion region. To clear the exclusion region, call ClearCache().
Compare with Reserve(Rectangle): Exclude filters this canvas's own output; Reserve marks positions as claimed during multi-canvas compositing (see RenderLineCanvas(DrawContext?)).