All pastes #2127477 Raw Edit

Someone

public text v1 · immutable
#2127477 ·published 2012-03-13 00:21 UTC
rendered paste body
//PLAİN MİRROR

    public Rectangle GetBoundsRect()
    {
        Rectangle rect = new Rectangle(getLocation().x,getLocation().y,size,height);
        return rect;
    }

//CONVEX MİRROR 

        public Rectangle GetBoundsRect()
        {
            int x = getLocation().x-arcX/2;
            int y = getLocation().y-arcY/2;
            Rectangle rect = new Rectangle(x,y,arcX,arcY);
            return rect;
        }

//CONCAVE MİRROR

        public Rectangle GetBoundsRect()
        {
            int x = getLocation().x-arcX/2;
            int y = getLocation().y-arcY/2;
            Rectangle rect = new Rectangle(x,y,arcX,arcY);
            return rect;
        }