Home Manual Reference Source Repository
import EditionState from 'waves-ui/src/states/edition-state.js'
public class | source

EditionState

Extends:

src/states/base-state~BaseState → EditionState

A state to edit shapes in the more general way. Interact only with selected shapes.

Constructor Summary

Public Constructor
public

constructor(timeline: *)

Member Summary

Public Members
public
public
public

Method Summary

Public Methods
public

enter()

public

exit()

public

handleEvent(e: *)

public

onMouseDown(e: *)

public

onMouseMove(e: *)

public

onMouseUp(e: *)

Public Constructors

public constructor(timeline: *) source

Params:

NameTypeAttributeDescription
timeline *

Public Members

public currentEditedLayer: * source

public currentTarget: * source

public mouseDown: boolean source

Public Methods

public enter() source

public exit() source

public handleEvent(e: *) source

Params:

NameTypeAttributeDescription
e *

public onMouseDown(e: *) source

Params:

NameTypeAttributeDescription
e *

public onMouseMove(e: *) source

Params:

NameTypeAttributeDescription
e *

public onMouseUp(e: *) source

Params:

NameTypeAttributeDescription
e *