NShape Reference
SelectionTool Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
SelectionTool Class

Previous pageReturn to chapter overviewNext page

A pointer tool for selecting and manipulating shapes.

Syntax

public class SelectionTool : Tool

Description

A pointer tool for selecting and manipulating shapes. Typically the default tool for NShape applications.

Available in NShape 2.0.

Public Properties

Name

Description

EnableQuickRotate

Enables rotating in steps of 90° when the rotation point is double clicked.

OverlappingShapesAction

Specifies how selection of overlapping shapes is handled.

Public Methods

Name

Description

Constructor

Constructs a new instance.

Draw

Draws the tool's preview.

EndToolAction

Ends the current tool action

EnterDisplay

Handles entering a DiagramPresenter's display.

GetMenuItemDefs

Returns a list of MenuItemDefs.

Invalidate

Invalidates thetool's preview.

LeaveDisplay

Handles leaving a DiagramPresenter's display.

ProcessKeyEvent

Process key strokes.

ProcessMouseEvent

Process mouse events.

RefreshIcons

Refreshes the tool's thumbnail image.

StartToolAction

Starts a new tool action.

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape