SheetXL - v1.0.2
    Preparing search index...

    Function framePlacement

    • The placement of a movable's frame in pane, from the drag preview when there is one, else the model. The frame and everything drawn in register with it (adornments) use this, so they cannot disagree.

      Parameters

      • movable: IMovable
      • pane: IGridPane
      • Optionalpreview: MovablePreview | null

      Returns FramePlacement

      The frame's corner sits on a device pixel, as Excel places a drawing and as the grid places a fill: a drawing that lands its lines on the device grid (a shape's thin strokes) then needs only the zoom and the device pixel ratio to do so, and the frame scrolls under it by whole device pixels. The size is not snapped; the drawing's zoom stays exact.