public Vector2 GetMeasurements(SpriteFont font) { Vector2 stringSize = DrawString.GetMeasurements(font); return(new Vector2(Selector.Size.X + stringSize.X + SpaceSelectorToString, Math.Max(Selector.Size.Y, stringSize.Y))); }
public Vector2 StringPosition(SpriteFont font) { return(new Vector2(Selector.Size.X + SpaceSelectorToString, (GetMeasurements(font).Y - DrawString.GetMeasurements(font).Y) / 2)); }