$allocate static method

Pointer<MpRectF> $allocate(
  1. Allocator $allocator, {
  2. required double left,
  3. required double top,
  4. required double bottom,
  5. required double right,
})

Implementation

static ffi.Pointer<MpRectF> $allocate(
  ffi.Allocator $allocator, {
  required double left,
  required double top,
  required double bottom,
  required double right,
}) => $allocator<MpRectF>()
  ..ref.left = left
  ..ref.top = top
  ..ref.bottom = bottom
  ..ref.right = right;