fromRectAsync static method

Future<Subdiv2D> fromRectAsync(
  1. Rect rect
)

Implementation

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