Type Editor / @type-editor/collab / Rebaseable / Rebaseable
Class: Rebaseable
Defined in: Rebaseable.ts:9
Represents a step that can be rebased (undone and redone after applying other steps). Stores the original step, its inverse, and the transform that originated it.
Constructors
Constructor
ts
new Rebaseable(
step,
inverted,
origin): Rebaseable;Defined in: Rebaseable.ts:16
Creates a new Rebaseable instance.
Parameters
| Parameter | Type | Description |
|---|---|---|
step | PmStep | The original step to be applied. |
inverted | PmStep | The inverse of the step, used for undoing. |
origin | Transform | The transform that originally produced this step. |
Returns
Rebaseable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
inverted | readonly | PmStep | The inverse of the step, used for undoing. | Rebaseable.ts:18 |
origin | readonly | Transform | The transform that originally produced this step. | Rebaseable.ts:19 |
step | readonly | PmStep | The original step to be applied. | Rebaseable.ts:17 |