/// <summary> /// Detach the ruler specified in the anchor parameter from this brick /// </summary> /// <param name="anchor">the anchor to detach</param> public void detachRuler(RulerAttachementSet.Anchor anchor) { if (mAttachedRulers != null) mAttachedRulers.detachRuler(anchor); }
/// <summary> /// Attach the ruler specified in the anchor parameter with the other anchor properties to this brick /// </summary> /// <param name="anchor">attachement properties</param> public void attachRuler(RulerAttachementSet.Anchor anchor) { // create the set if it doesn't exist yet if (mAttachedRulers == null) mAttachedRulers = new RulerAttachementSet(this); mAttachedRulers.attachRuler(anchor); }