mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Restore Contour.points method
This commit is contained in:
parent
3af26fe5fb
commit
7112856244
@ -18,6 +18,7 @@ void Contour::Init(Local<Object> target) {
|
||||
// Prototype
|
||||
// Local<ObjectTemplate> proto = constructor->PrototypeTemplate();
|
||||
Nan::SetPrototypeMethod(ctor, "point", Point);
|
||||
Nan::SetPrototypeMethod(ctor, "points", Points);
|
||||
Nan::SetPrototypeMethod(ctor, "size", Size);
|
||||
Nan::SetPrototypeMethod(ctor, "cornerCount", CornerCount);
|
||||
Nan::SetPrototypeMethod(ctor, "area", Area);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user