public override void Draw(RectangleF rect)
{
// Center HUD
RectangleF allRect = Bounds;
// Draw rounded HUD bacgroud rect
RectangleF boxRect = new RectangleF(((allRect.Size.Width - _Width) / 2) + _XOffset, ((allRect.Size.Height - _Height) / 2) + _YOffset, _Width, _Height);
CGContext ctxt = UIGraphics.GetCurrentContext();
FillRoundedRect(boxRect, ctxt);
}