MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
TSLRectangleOperation Class Reference

Detailed Description

This is the TSLRectangleOperation.

Operation Name rectangle

Additional Data None

It is a basic primitive operation. The operation enables the user to add a rectangle object to the editor model.

The user selects the first point of the rectangle with a click of the left mouse button. Clicking the right mouse button at this stage will cancel the operation. A second click sets the position of the opposite corner.

The operation is deactivated by a click of the right mouse button.

Static Public Member Functions

static bool add (TSLEditor *editor)
 

Member Function Documentation

◆ add()

static bool TSLRectangleOperation::add ( TSLEditor * editor)
static

This method adds the operation to a TSLEditor object. It is passed a pointer to the editor object.

Arguments list details:

editor: a pointer to the TSLEditor object.

Returns true if added successfully, otherwise false.