Added fillMesh and strokeMesh.

This commit is contained in:
Richard Davey 2017-12-07 05:31:31 +00:00
parent 28260cca66
commit 71d6f8a085

View file

@ -555,9 +555,16 @@ var Graphics = new Class({
return mesh;
},
fillMesh: function (mesh)
{
mesh.fill(this);
return this;
},
strokeMesh: function (mesh)
{
mesh.draw(this);
mesh.stroke(this);
return this;
},