Pixel Data JS - v0.28.0
    Preparing search index...

    Function forEachLinePoint

    • Iterates through a line with sub-pixel precision. Guarantees that the first and last points are exactly (x0, y0) and (x1, y1).

      Parameters

      • x0: number
      • y0: number
      • x1: number
      • y1: number
      • callback: (x: number, y: number) => void

      Returns void