Sha256: f2dca459bb9874244649dc5917462b4a0567695bc86eb264eddc53c9c37f49fb

Contents?: true

Size: 815 Bytes

Versions: 1

Compression:

Stored size: 815 Bytes

Contents

define("dojox/gfx/svgext", [
	"./_base",
	"./svg"], 
	function(g, svg){
		
	/*=====
	 return {
	 	// summary:
	 	//		A module that adds svg-specific features to the gfx api. You should require this module
	 	//		when your application specifically targets the SVG renderer.
	 }
	 =====*/
	
	var svgext = g.svgext = {};

	svg.Shape.extend({
		addRenderingOption: function(/*String*/option, /*String*/value){
			// summary:
			//		Adds the specified SVG rendering option on this shape.
			// option: String
			//		The name of the rendering option to add to this shape, as specified by the
			//		SVG specification (http://www.w3.org/TR/SVG/painting.html#RenderingProperties)
			// value: String
			//		the option value.
			this.rawNode.setAttribute(option, value);
			return this; // self
		}
	});
	return svgext;
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dojox-rails-0.11.0 vendor/assets/javascripts/gfx/svgext.js.uncompressed.js