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

    Function resolveRectClipping

    • Calculates the intersection of a target rectangle and a bounding box (usually 0,0 -> width,height). Handles negative offsets by shrinking dimensions.

      Parameters

      • x: number
      • y: number
      • w: number
      • h: number
      • boundaryW: number
      • boundaryH: number
      • out: ClippedRect

      Returns ClippedRect