GraphicsUtil.drawText(g, "0", bds.getX() + x0, bds.getY() + y0,
halign, GraphicsUtil.V_BASELINE);
// draw trapezoid, "DMX" label, and ports
g.setColor(Color.BLACK);
Plexers.drawTrapezoid(g, bds, facing.reverse(), select.getWidth() == 1 ? 10 : 20);
GraphicsUtil.drawCenteredText(g, "DMX",
bds.getX() + bds.getWidth() / 2,
bds.getY() + bds.getHeight() / 2);
painter.drawPorts();
}