public override int GetHashCode()
 {
     lock (_freehandPathLock)
     {
         return(freehandPath?.GetHashCode() ?? 0);
     }
 }
 public override int GetHashCode()
 {
     return(freehandPath.GetHashCode());
 }