Skip to main content
Version: 4.3

StartPolygonRegionOptions

type StartPolygonRegionOptions = Omit<Partial<ui.PolygonalSelectionRegion.Options>, "paper">;

Per-call options for startPolygonRegion() on the RegionApi returned by useRegion. Accepts every ui.PolygonalSelectionRegion.Options field (threshold, plus the base ui.SelectionRegion.Options) except paper, which the hook supplies from its resolved paper.