Class. Fit to Screen Command
oldViewport:
Viewport
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:37
BoundsAwareViewportCommand
.oldViewport
protected
viewerOptions:ViewerOptions
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:36
BoundsAwareViewportCommand
.viewerOptions
readonly
static
KIND:"fit"
=FitToScreenAction.KIND
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:165
protected
boundsInViewport(element
,bounds
,viewport
):Bounds
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:85
Bounds
SModelRootImpl
& Viewport
Bounds
BoundsAwareViewportCommand
.boundsInViewport
protected
equal(vp1
,vp2
):boolean
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:127
Viewport
Viewport
boolean
BoundsAwareViewportCommand
.equal
execute(
context
):CommandReturn
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:96
BoundsAwareViewportCommand
.execute
getElementIds():
string
[]
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:171
string
[]
BoundsAwareViewportCommand
.getElementIds
getNewViewport(
bounds
,model
):undefined
|Viewport
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:175
Bounds
undefined
| Viewport
BoundsAwareViewportCommand
.getNewViewport
protected
initialize(model
):void
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:44
void
BoundsAwareViewportCommand
.initialize
redo(
context
):CommandReturn
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:114
BoundsAwareViewportCommand
.redo
undo(
context
):CommandReturn
Defined in: packages/sprotty/src/features/viewport/center-fit.ts:101