"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = _default;

var _index = require("./index");

var _utils = require("../common-painter/utils");

function _default(ctx, name, y) {
  var lineHeight = 28;
  var space = 43;
  ctx.font = "bold 18px/".concat(lineHeight, "px arial,sans-serif");
  ctx.fillStyle = "#141C28";
  return (0, _utils.drawTextMiddle)(ctx, name, space, y, lineHeight, _index.pinkCardwidth - space * 2, "center");
}