Piccolo.NET

PNode.OffsetBy Method 

Offset this node relative to the parent's coordinate system. This is NOT affected by this node's current scale or rotation.

public virtual void OffsetBy(
   float dx,
   float dy
);

Parameters

dx
The amount to add to the x-offset for this node.
dy
The amount to add to the y-offset for this node.

Remarks

This is implemented by directly adding dx to the dx position and dy to the dy position of the matrix.

See Also

PNode Class | UMD.HCIL.Piccolo Namespace


Web Accessibility