예제 #1
0
파일: Group.cs 프로젝트: llownall/DrawDots
        public void setRotationAngle(int angle)
        {
            var tempTransform = transformation;

            tempTransform.rotationAngle = angle;
            transformation = tempTransform;
        }
예제 #2
0
파일: Group.cs 프로젝트: llownall/DrawDots
        public void move(int x = 0, int y = 0)
        {
            var tempTransform = transformation;

            tempTransform.xTransition += x;
            tempTransform.yTransition += y;
            transformation             = tempTransform;
        }