Starting implementing path and magnet
This commit is contained in:
@@ -24,6 +24,16 @@ function IO()
|
||||
});
|
||||
}
|
||||
|
||||
this.methods.load = function(q)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
this.methods.save = function(q)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
this.render = function()
|
||||
{
|
||||
var fs = require('fs');
|
||||
|
||||
11
sources/scripts/modules/magnet.js
Normal file
11
sources/scripts/modules/magnet.js
Normal file
@@ -0,0 +1,11 @@
|
||||
function Magnet()
|
||||
{
|
||||
Module.call(this,"magnet","Cursor magnetisation settings.");
|
||||
|
||||
this.settings = {size:15,rate:4};
|
||||
|
||||
this.methods.lock = function()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,14 @@
|
||||
function Path()
|
||||
{
|
||||
Module.call(this,"path");
|
||||
|
||||
this.methods.stroke = function()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
this.methods.fill = function()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user