Skip to main content
Version: 4.3

StartRectangleRegionOptions

type StartRectangleRegionOptions = Omit<Partial<ui.RectangularSelectionRegion.Options>, "paper">;

Per-call options for startRectangleRegion() on the RegionApi returned by useRegion. Accepts every ui.RectangularSelectionRegion.Options field (the base ui.SelectionRegion.Options: layer, normalize, onChange) except paper, which the hook supplies from its resolved paper.