SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...
    • The CSS-pixel shift a stroke takes so it grows OUTWARD from its cell.

      Odd device widths are already centered (one device px each side of the divider) and never shift. Even device widths snap to a whole device pixel, where the centered result lands the extra pixel before the divider; a trailing edge then shifts +1 device px so it sits after it (leading stays before). This is the only case that needs a tie-break.

      Parameters

      • edge: EdgeKind
      • deviceWidth: number
      • dpr: number = ...

      Returns number