rect4 method

RectangleC rect4([
  1. num? x,
  2. num? y,
  3. num? w,
  4. num? h,
])

Implementation

RectangleC rect4([num? x, num? y, num? w, num? h])
  => rect4Ptr.set(x ?? rect4Ptr.ref.x, y ?? rect4Ptr.ref.y, w ?? rect4Ptr.ref.width, h ?? rect4Ptr.ref.height).ref;