示例#1
0
        /// <inheritdoc />
        public override bool Contains(Vector2 position, IProjector projector)
        {
            var local = projector.ProjectToLocal(position);

            return(local.X >= 0 && local.X <= _size.X &&
                   local.Y >= 0 && local.Y <= _size.Y);
        }