ixfx
    Preparing search index...

    Function fromTopLeft

    • Creates a rectangle from its top-left coordinate, a width and height.

      // Rectangle at 50,50 with width of 100, height of 200.
      const rect = Rects.fromTopLeft({ x: 50, y:50 }, 100, 200);

      Parameters

      • origin: Point
      • width: number
      • height: number

      Returns RectPositioned