internal bool IsStatesOn(LineStates states) { return((States & states) != 0); }
internal void AddStates(LineStates states) { States |= states; }