Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TranslateShapeAction

A class to move a shape in a canvas.

Hierarchy

  • TranslateShapeAction

Implements

Index

Constructors

constructor

  • new TranslateShapeAction(translate: object, shapeId: string, userId: string, timeStamp: number): TranslateShapeAction

Properties

objectId

objectId: string

oldTranslate

oldTranslate: object

Type declaration

  • dx: number
  • dy: number

timeStamp

timeStamp: number

translate

translate: object

Type declaration

  • dx: number
  • dy: number

type

type: string

userId

userId: string

Methods

do

undo

Generated using TypeDoc