/// <inheritdoc/> public PointerState GetState() { var state = new PointerState(); GetState(state); return(state); }
/// <inheritdoc/> public void GetState(PointerState state) { if (state == null) { throw new ArgumentNullException("state"); } state.Points.Clear(); foreach (var point in statePointerPoints) { state.Points.Add(point); } }