Skip to content

pivotick v3.0.0


pivotick / ViewportTarget

Interface: ViewportTarget ​

Defined in: GraphRenderer.ts:66

Where to point the view. x / y is the graph-space point to put in the middle of the canvas.

Properties ​

animate? ​

optional animate: boolean

Defined in: GraphRenderer.ts:72

Animate the move rather than jumping.

Default ​

ts
false

scale? ​

optional scale: number

Defined in: GraphRenderer.ts:70

Absolute zoom scale.

Default ​

ts
the current scale

x ​

x: number

Defined in: GraphRenderer.ts:67


y ​

y: number

Defined in: GraphRenderer.ts:68