fromRectAsync static method

Future<Subdiv2D> fromRectAsync(
  1. Rect rect
)

Implementation

static Future<Subdiv2D> fromRectAsync(Rect rect) async => cvRunAsync(
      (callback) => cffi.Subdiv2D_NewWithRect_Async(rect.ref, callback),
      (c, p) => c.complete(Subdiv2D.fromPointer(p.cast<cvg.Subdiv2D>())),
    );