Helper for working with multiple sceneItems

Hierarchy

  • Selection

Implements

Index

Constructors

constructor

Properties

_resourceId

_resourceId: string

sceneId

sceneId: string

Methods

add

canGroupIntoFolder

  • canGroupIntoFolder(): boolean

centerOnScreen

  • centerOnScreen(): void

clone

copyReferenceTo

  • copyReferenceTo(sceneId: string, folderId?: string): TSceneNode[]

copyTo

deselect

fitToScreen

  • fitToScreen(): void

flipX

  • flipX(): void

flipY

  • flipY(): void

getBoundingRect

  • getBoundingRect(): IRectangle

getClosestParent

getFolders

getIds

  • getIds(): string[]

getInverted

getInvertedIds

  • getInvertedIds(): string[]

getItems

getLastSelected

getLastSelectedId

  • getLastSelectedId(): string

getModel

  • getModel(): object

getNodes

getRootNodes

  • Returns a minimal representation of selection for selection list like this:

    Folder1 <- selected | Item1 <- selected \ Folder2 <- selected Item3 <- selected Folder3 | Item3 \ Item4 <- selected

    returns Folder1, Item3, Item4

    Returns TSceneNode[]

getScene

getSize

  • getSize(): number

getVisualItems

invert

isLocked

  • isLocked(): boolean

isSceneFolder

  • isSceneFolder(): boolean

isSceneItem

  • isSceneItem(): boolean

isSelected

isVisible

  • isVisible(): boolean

moveTo

  • moveTo(sceneId: string, folderId?: string): TSceneNode[]

nudgeActiveItemRight

  • nudgeActiveItemRight(): void

nudgeActiveItemsDown

  • nudgeActiveItemsDown(): void

nudgeActiveItemsLeft

  • nudgeActiveItemsLeft(): void

nudgeActiveItemsUp

  • nudgeActiveItemsUp(): void

remove

  • remove(): void

reset

resetTransform

  • resetTransform(): void

rotate

  • rotate(deg: number): void

select

selectAll

setContentCrop

  • setContentCrop(): void

setSettings

setTransform

setVisibility

  • setVisibility(isVisible: boolean): void

stretchToScreen

  • stretchToScreen(): void