/// <summary> /// Overridden. Sets the bounds of the target node. /// </summary> /// <param name="x">The new x coordinate of the bounds.</param> /// <param name="y">The new y coordinate of the bounds.</param> /// <param name="width">The new width of the bounds.</param> /// <param name="height">The new height of the bounds.</param> /// <returns>True if the bounds have changed; otherwise, false.</returns> /// <remarks> /// These bounds are stored in the local coordinate system of the target node. /// </remarks> public override bool SetBounds(float x, float y, float width, float height) { RectangleF b = new RectangleF(x, y, width, height); b = camera.LocalToGlobal(b); b = camera.LocalToView(b); b = target.GlobalToLocal(b); target.Bounds = b; return(base.SetBounds(x, y, width, height)); }