private void CreateRulerLine(float y, float length, Color color)
{
Line line = new Line(mManagers);
line.X = 10 - length;
line.Y = RenderingLibrary.Math.MathFunctions.RoundToInt(y) + .5f;
line.RelativePoint = new Microsoft.Xna.Framework.Vector2(length, 0);
line.Color = color;
line.Z = 1;
line.Parent = mOffsetSprite;
mRulerLines.Add(line);
mManagers.ShapeManager.Add(line, mLayer);
}