putedStyle(elem);
  var fgColor = elementStyle.color;
  var bgColor = elementStyle.backgroundColor;
  elem.width = elem.clientWidth;
  elem.setAttribute('width', elem.clientWidth * pixelDensity + "px");
  elem.setAttribute('height', elem.clientHeight * pixelDensity + "px");

  var isButton = elem.classList.contains( 'button' ) || elem.classList.contains( 'button_floating' ) | elem.classList.contains( 'button_menu' );
  var isToolbarButton =  elem.classList.contains( 'button_toolbar' );

  elem.getContext('2