Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 371 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 371 Bytes

gesso.js

Canvas and canvas context wrapper. Supplies a chainable api of canvas methods, and command grouping.

Basic Usage

	var gtx=gesso(document.createElement('canvas'));

	gtx.beginPath()
		.miterLimit(10)
		.line({
			cap: "round",
			join: "miter"
		})
		.shadowColor("transparent")
		.moveTo(0, 0)
		.line({
			to: [20, 20],
			width: 40
		});