1.0.9 • Published 6 years ago
the-2d v1.0.9
the-2d
2D Graphic utilities
Installation
$ npm install the-2d --save
Usage
'use strict'
const { Rect } = require('the2d/structs')
async function tryExample () {
const rect = new Rect(0, 0, 100, 200)
console.log(rect.contains(10, 20)) // -> true
}
tryExample().catch((err) => console.error(err))
API Guide
License
This software is released under the MIT License.