示例#1
0
        /// <inheritdoc/>
        public PointerState GetState()
        {
            var state = new PointerState();

            GetState(state);

            return(state);
        }
示例#2
0
        /// <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);
            }
        }