PNode.ScaleAndDraw Method
Scale the Graphics so that this node's full bounds fit in displayRect and then render into the given Graphics context.
Parameters
- g
- The Graphics context to use when rendering the node.
- bounds
- The full bounds of the node to be rendered.
- displayRect
- The imageable area.
See Also
PNode Class | UMD.HCIL.Piccolo Namespace