drawStringCentered

open fun drawStringCentered(str: String, fr: FontRenderer, x: Float, y: Float, shadow: Boolean, colour: Int)(source)