/// <summary> /// /// </summary> /// <param name="decoration"></param> public void RemoveDecoration(IEntityDecoration decoration) { if (m_decorations.Remove(decoration)) { RemoveChild(decoration.Node); ComputeDecorationPositions(); } }
/// <summary> /// /// </summary> /// <param name="decoration"></param> public void AddDecoration(IEntityDecoration decoration) { if (m_decorations.Add(decoration)) { AddChild(decoration.Node); ComputeDecorationPositions(); } }