code: function(canvas, shape, type, pe, unitX, unitY, size, source, sw, filled)
  	{
  		var funct = mxMarker.markers[type];
  		
  		return (funct != null) ? funct(canvas, shape, type, pe, unitX, unitY, size, source, sw, filled) : null;
  	}
docs: Function: createMarker
  
  Returns a function to paint the given marker.