Status: New
Owner: ----

New issue 233 by vijay.ro...@uniken.com: adding PHandle
http://code.google.com/p/piccolo2d/issues/detail?id=233

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
After Adding PHandle to a pNode as a child and after applying PDragEventHandler the anchor point is moving too fast.It should not move that fast.What should i do to slow down it?

What version of the product are you using? On what operating system?
windows xp

Please provide any additional information below.

PPath circle = PPath.createEllipse((float) (pointOne.getX() + pointTwo.getX()) / 2,
                (float) (pointOne.getY() + pointTwo.getY()) / 2, 7, 7);

final PLocator circleLocator = new PLocator() {
            public double locateX() {
                return circle.getFullBoundsReference().getCenter2D().getX();
            }

            public double locateY() {
                return circle.getFullBoundsReference().getCenter2D().getX();
            }
        };

         PHandle pHandle = new PHandle(circleLocator);



        circle.addChild(pHandle);
        pHandle.addInputEventListener(new PDragEventHandler());

--
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en

Reply via email to