コード例 #1
0
        protected override bool hitTesting( HitArea area )
        {
            if ( !base.hitTesting ( area ) )
                return false;

            foreach ( Rectangle subRectangle in this.subRectangles )
                if ( area.HitTest ( subRectangle ) )
                    return true;

            return false;
        }
コード例 #2
0
 protected override bool hitTesting( HitArea area )
 {
     return area.HitTest ( this.rectangle );
 }