GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — GeometryChange | @maxgraph/core

  • GeometryChange

Class GeometryChange

Action to change a cell's geometry in a model.

Implements

  • UndoableChange
  • Defined in view/undoable-change/GeometryChange.ts:28
Index

Constructors

constructor

Properties

cell geometry model previous

Methods

execute

Constructors

constructor

  • new GeometryChange(
        model: GraphDataModel,
        cell: Cell,
        geometry: Geometry | null,
    ): GeometryChange

    Parameters

    • model: GraphDataModel
    • cell: Cell
    • geometry: Geometry | null

    Returns GeometryChange

    • Defined in view/undoable-change/GeometryChange.ts:34

Properties

cell

cell: Cell
  • Defined in view/undoable-change/GeometryChange.ts:30

geometry

geometry: Geometry | null
  • Defined in view/undoable-change/GeometryChange.ts:31

model

model: GraphDataModel
  • Defined in view/undoable-change/GeometryChange.ts:29

previous

previous: Geometry | null
  • Defined in view/undoable-change/GeometryChange.ts:32

Methods

execute

  • execute(): void

    Changes the geometry of cell to previous usingGraphDataModel.geometryForCellChanged.

    Returns void

    Implementation of UndoableChange.execute

    • Defined in view/undoable-change/GeometryChange.ts:44

Settings

Member Visibility
  • Protected
  • Inherited
Theme

On This Page

Constructors
constructor
Properties
cellgeometrymodelprevious
Methods
execute
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.