By including that constant in UIComponent class we are mixing component logic with rendering engine's logic. Could we separate those responsibilities?