dist/jcanvas.js
function _setStyle(canvas, ctx, params, styleName) {
	if (params[styleName]) {
		if (isFunction(params[styleName])) {
			// Handle functions
			ctx[styleName] = params[styleName].call(canvas, params);
		} else {
			// Handle string values
			ctx[styleName] = params[styleName];
		}
	}
}
function _setStyle(canvas, ctx, params, styleName) {
	if (params[styleName]) {
		if (isFunction(params[styleName])) {
			// Handle functions
			ctx[styleName] = params[styleName].call(canvas, params);
		} else {
			// Handle string values
			ctx[styleName] = params[styleName];
		}
	}
}
function _setStyle ( canvas , ctx , params , styleName ) { if ( params [ styleName ] ) { if ( isFunction ( params [ styleName ] ) ) { // Handle functions ctx [ styleName ] = params [ styleName ] . call ( canvas , params ) ; } else { // Handle string values ctx [ styleName ] = params [ styleName ] ; } } }
Set the style with the given name
Set the style with the given name