/// <summary> /// Sets the clip rectangle. /// </summary> /// <param name="rect">The clip rectangle.</param> /// <returns>True if the clip rectangle was set.</returns> public override bool SetClip(OxyRect rect) { this.g.SetClip(rect.ToRect(false)); return true; }