Restore Contour.points method

This commit is contained in:
Igor Dubinskiy 2016-05-12 23:54:53 -07:00
parent 3af26fe5fb
commit 7112856244

View File

@ -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);