public void DrawText(float xOffset, float yOffset) { if (this.align == Paint.Align.Right) { CLReDraw.Text(this.text, this.x + this.width * (1.0f - xLabelOffset) + xOffset, this.y - this.height * 2 / 3.2f - yOffset, this.textSize, this.textColour, this.align, this.textInterval); } else if (this.align == Paint.Align.Center) { CLReDraw.Text(this.text, this.x + this.width * 0.5f + xOffset, this.y - this.height * 2 / 3.2f - yOffset, this.textSize, this.textColour, this.align, this.textInterval); } else { CLReDraw.Text(this.text, this.x + this.width * xLabelOffset + xOffset, this.y - this.height * 2 / 3.2f - yOffset, this.textSize, this.textColour, this.align, this.textInterval); } }