mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Merge pull request #408 from idubinskiy/contour-points
Restore Contour.points method
This commit is contained in:
commit
df9959ae7d
@ -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