예제 #1
0
        public override bool FillContainsPoint(Layerage layerage, Vector2 point)
        {
            if (this.Visibility == Visibility.Collapsed)
            {
                return(false);
            }

            foreach (Layerage layerage2 in layerage.Children)
            {
                ILayer layer = layerage2.Self;

                if (layer.FillContainsPoint(layerage2, point))
                {
                    return(true);
                }
            }

            return(false);
        }
예제 #2
0
        private bool GetClickSelectedLayerage_FillContainsPoint(Layerage layerage, Vector2 canvasPoint)
        {
            ILayer layer = layerage.Self;

            return(layer.FillContainsPoint(layerage, canvasPoint));
        }