API Reference > imodeljs-frontend > Tools > ViewClipEventHandler ViewClipEventHandler Interface An object that can react to a view's clip being changed by tools or modify handles. Implemented by ViewClipDecorationProvider Methods Name Description clearOnDeselect(): boolean Stop displaying clip geometry when clip is removed from the selection set. onClearClip(viewport: Viewport): void Called when the view clip is cleared from the view. onModifyClip(viewport: Viewport): void Called by tools after modifying the view clip. onNewClip(viewport: Viewport): void Called by tools that set or replace the existing view clip with a new clip. onNewClipPlane(viewport: Viewport): void Called by tools that add a single plane to the view clip. onRightClick(hit: HitDetail, ev: BeButtonEvent): boolean Called when user right clicks on clip geometry or clip modify handle. selectOnCreate(): boolean Add newly created clip geometry to selection set and show modify controls. Defined in core/frontend/src/tools/ClipViewTool.ts Line 35 Last Updated: 12 June, 2024