pivotick - v2.0.1
    Preparing search index...

    Interface ViewportTarget

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

    interface ViewportTarget {
        animate?: boolean;
        scale?: number;
        x: number;
        y: number;
    }
    Index

    Properties

    Properties

    animate?: boolean

    Animate the move rather than jumping.

    false
    
    scale?: number

    Absolute zoom scale.

    the current scale
    
    x: number
    y: number