private bool IsInView(HorizontalLine hl, Vector2 actualSize) { return(!(hl.Point1.Y + thickness / 2 < 0 || hl.Point1.Y - thickness / 2 > actualSize.Y)); }