Piccolo.NET

PNode.SetBounds Method 

Set the bounds of this node to the given values.

public virtual bool SetBounds(
   float x,
   float y,
   float width,
   float height
);

Parameters

x
The new x coordinate of the bounds.
y
The new y coordinate of the bounds.
width
The new width of the bounds.
height
The new height of the bounds.

Return Value

True if the bounds have changed; otherwise, false.

Remarks

These bounds are stored in the local coordinate system of this node.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace


Web Accessibility