Lines Matching refs:colorset
5261 var addButton = mxUtils.bind(this, function(colorset) argument
5281 if (colorset != null)
5285 if (colorset['fill'] == '')
5291 style = mxUtils.setStyle(style, mxConstants.STYLE_FILLCOLOR, colorset['fill'] ||
5295 style = mxUtils.setStyle(style, mxConstants.STYLE_GRADIENTCOLOR, colorset['gradient'] ||
5301 style = mxUtils.setStyle(style, mxConstants.STYLE_FONTCOLOR, colorset['font'] ||
5308 if (colorset['stroke'] == '')
5314 style = mxUtils.setStyle(style, mxConstants.STYLE_STROKECOLOR, colorset['stroke'] ||
5349 if (colorset != null)
5353 if (colorset['gradient'] != null)
5358 'StartColorStr=\'' + colorset['fill'] +
5359 '\', EndColorStr=\'' + colorset['gradient'] + '\', GradientType=0)';
5363 btn.style.backgroundImage = 'linear-gradient(' + colorset['fill'] + ' 0px,' +
5364 colorset['gradient'] + ' 100%)';
5367 else if (colorset['fill'] == mxConstants.NONE)
5371 else if (colorset['fill'] == '')
5378 btn.style.backgroundColor = colorset['fill'] || mxUtils.getValue(graph.defaultVertexStyle,
5382 if (colorset['stroke'] == mxConstants.NONE)
5386 else if (colorset['stroke'] == '')
5393 … btn.style.border = b + ' ' + (colorset['stroke'] || mxUtils.getValue(graph.defaultVertexStyle,
5397 if (colorset['title'] != null)
5399 btn.setAttribute('title', colorset['title']);