/// <summary>
        /// If true, debug lines are shown for all elements
        /// </summary>
        /// <param name="debugAll">If set to <c>true</c> debug all.</param>
        public void setDebugAll(bool debugAll)
        {
            if (this.debugAll == debugAll)
            {
                return;
            }

            this.debugAll = debugAll;
            if (debugAll)
            {
                debug = true;
            }
            else
            {
                root.setDebug(false, true);
            }
        }