Piccolo.NET

PPickPath.CanvasToLocal Method (RectangleF, PNode)

Convert the given rectangle from canvas coordinates, down the pick path (and through any camera view transforms applied to the path) to the local coordinates of the given node.

public virtual RectangleF CanvasToLocal(
   RectangleF canvasRectangle,
   PNode nodeOnPath
);

Parameters

canvasRectangle
The rectangle in canvas coordinates.
nodeOnPath
The node for which the local coordinates will be computed.

Return Value

The rectangle in the local coordinates of the given node.

See Also

PPickPath Class | UMD.HCIL.Piccolo.Util Namespace | PPickPath.CanvasToLocal Overload List


Web Accessibility