Nail Polishing Minions

    rose

    0.1.0-beta • Public • Published

    Rose

    纯JavaScript实现的图像处理库

    使用

    var rose = new Rose({
        width:100,
        height:80
    });
    rose.fillRect(20,10,80,15,'#f60')
        .fillRect(48,15,53,70,'#06F')
        .drawLine(5,10,5,20,'#00f',1)
        .drawLine(5,20,5,30,'red',1)
        .drawLine(5,30,20,30,'#0f0',1)
        .drawLine(20,30,50,35,'#ff0',1)
        .drawLine(50,35,40,60,'#0cc',1)
        .drawImage('./mask.png',40,40,function(err,rose){
            rose.save('./test.png');
        });

    历史

    0.1.0-beta 2016-09-20

    • 基本功能,支持简单的画方块、画线、画图像

    Keywords

    none

    Install

    npm i rose

    DownloadsWeekly Downloads

    12

    Version

    0.1.0-beta

    License

    MIT

    Last publish

    Collaborators

    • toobug