Skip to main content

ZoomAt

WLJS
Execution environment
JerryI`Notebook`Graphics2D`
Context
ZoomAt[k_, position_:{0,0}]

zooms k times at the given position position.

info

This has to be called inside the instance of Graphics using FrontSubmit

All transition effects are applied here as well

Example

Let us make a simple plot and reference it using FrontInstanceReference

ref = FrontInstanceReference[];
Plot[x, {x,0,1}, Epilog->{ref}]

now we can zoom it

FrontSubmit[ZoomAt[1.2, {-0.1,0.0}], ref]