Class TUndoCreateGrid

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoCreateGrid = class(TUndoEditGridLines)

Description

TUndoCreateGrid is used to generate a new grid.

Hierarchy

Overview

Fields

Private FNewAngle: double;
Private FOldAngle: double;

Methods

Protected function Description: string; override;
Public constructor Create;
Public procedure DoCommand; override;
Public procedure Undo; override;

Properties

Public property NewAngle: double read FNewAngle write FNewAngle;

Description

Fields

Private FNewAngle: double;

FNewAngle: double; FNewAngle is the angle of the new grid. See NewAngle.

Private FOldAngle: double;

FOldAngle: double; FOldAngle is the angle of the old grid.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create;

Create creates an instance of TUndoCreateGrid and initializes the old grid angle.

Public procedure DoCommand; override;

DoCommand creates the new grid. FNewColumns, FNewRows, and FNewLayerElevations. and NewAngle must all be set before DoCommand is called.

Public procedure Undo; override;

Undo restores the old grid.

Properties

Public property NewAngle: double read FNewAngle write FNewAngle;

NewAngle is the angle of the new grid.


Generated by PasDoc 0.12.1 on 2013-05-13 15:42:06